public UnmodifiableExtendableItem(Map stdAttributes, Map extraAttributes) { if (stdAttributes != null) { - _attributes.putAll(stdAttributes); - _stdAttributes.putAll(stdAttributes); + attributes.putAll(stdAttributes); + stdAttributes.putAll(stdAttributes); } if (extraAttributes != null) { - _attributes.putAll(extraAttributes); - _extraAttributes.putAll(extraAttributes); + attributes.putAll(extraAttributes); + extraAttributes.putAll(extraAttributes); } }
The gump failure comes from this : extraAttributes.putAll(extraAttributes). Tips in eclipse: use the refactoring "rename" (Alt+Shit+R) instead of the rename in files (Ctrl+Shift+1). The 'refactoring' rename check that the new name is not already used, while the 'rename in files' doesn't. (Unfortunately, it is a little bit slower) -- Gilles SCOKART
