Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.0.0-alpha-4
-
None
Description
Testing code:
final Settings s = new Settings(); s.setLocalRepository("xxx"); assertEquals("xxx", s.getLocalRepository()); // OK s.setLocalRepository("yyy"); assertEquals("yyy", s.getLocalRepository()); // OK s.setLocalRepository(null); assertNull(s.getLocalRepository()); // FAIL
It seems related to the the build() method of Model Builder with forceCopy = false :
${field.name} != null ? ${field.name} : ( base != null ? base.${field.name} : null )${sep}
Attachments
Issue Links
- links to