Files
openide/plugins
Vladimir Krivosheev d21b7062bb Persistence state classes doesn't have to implement "equals" anymore
If you don’t implement “equals” in your sub state class, XmlSerializer cannot check it for defaults.

TextDiffSettingsHolder.State.SHARED_SETTINGS = new SharedSettings();
The problem — “new SharedSettings()” is not equals to “new SharedSettings()”.
As result, user gets

<option name="SHARED_SETTINGS">
  <SharedSettings />
</option>
even if SkipDefaultValuesSerializationFilters is used.

While I dream about Kotlin, I can’t fight anymore against Java-developers. XmlSerializer can throw warning in this case, but to simplify developer life, it will compare objects by serializable fields, but not by reference (if equals is not implemented).
2015-02-24 06:42:22 +01:00
..
2015-02-03 20:17:41 +03:00
2015-02-23 09:29:48 +01:00
2015-02-18 18:47:03 +01:00
2015-02-23 01:16:11 +03:00
2015-02-23 09:32:50 +01:00