HomePhabricator

Make SearchModel immutable

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

Provenance
gabriel-wmdeAuthored on Apr 5 2018, 5:11 PM
Parents
rEASR1f9681dbd26d: Localisation updates from https://translatewiki.net.
Branches
Unknown
Tags
Unknown
ChangeId
I24ec42d93d1971066809c133c200f341dbc04152