Make ListenableAccountDiffPreference final in PatchScriptSettingsPanel
This field should never be modified after creation as listeners are wired to it. Change-Id: Ie80e91a0c1230e68ddd3cb7d001f5268711cd54f
This commit is contained in:
@@ -50,7 +50,7 @@ public class PatchScriptSettingsPanel extends Composite implements
|
||||
interface MyUiBinder extends UiBinder<Widget, PatchScriptSettingsPanel> {
|
||||
}
|
||||
|
||||
private ListenableAccountDiffPreference listenablePrefs;
|
||||
private final ListenableAccountDiffPreference listenablePrefs;
|
||||
private boolean enableIntralineDifference = true;
|
||||
private boolean enableSmallFileFeatures = true;
|
||||
|
||||
|
Reference in New Issue
Block a user