HomePhabricator

Make SearchModel immutable

Authored by gabriel-wmde on Apr 5 2018, 5:11 PM.

Description

Make SearchModel immutable

Previously, reference types could be stored and thus changed by external
classes. Now reference types (Arrays, Objects) are always returned.

The store value change propagation for the image dimension fields only
worked by accident through references, now they work as intended.

Bug: T190681
Change-Id: I24ec42d93d1971066809c133c200f341dbc04152

Details