The use of Object (in the java.lang sense) is not working with models
which contain a 'container object' or similar. The fix is to not use a
temporary variable.
Change-Id: I98b3bde9a04d5f33a51a0add107829ad92d35907
Signed-off-by: Robert Varga <rovarga@cisco.com>
} else {
// Hard case: compare our augments with presence there...
for («Map.importedName».Entry<«Class.importedName»<? extends «augmentField.returnType.importedName»>, «augmentField.returnType.importedName»> e : «augmentField.name».entrySet()) {
- final Object oa = other.getAugmentation(e.getKey());
- if (!e.getValue().equals(oa)) {
+ if (!e.getValue().equals(other.getAugmentation(e.getKey()))) {
return false;
}
}