DATACMNS-963 - Returned type returns distinct input properties now.
We now manually filter already gathered property names in ReturnedInterface.getInputProperties() as we have to deal with duplications for properties with the same name at different levels of the inheritance hierarchy.
This commit is contained in:
@@ -191,7 +191,9 @@ public abstract class ReturnedType {
|
||||
List<String> properties = new ArrayList<String>();
|
||||
|
||||
for (PropertyDescriptor descriptor : information.getInputProperties()) {
|
||||
properties.add(descriptor.getName());
|
||||
if (!properties.contains(descriptor.getName())) {
|
||||
properties.add(descriptor.getName());
|
||||
}
|
||||
}
|
||||
|
||||
return properties;
|
||||
|
||||
Reference in New Issue
Block a user