We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81ddfe6 commit 409df19Copy full SHA for 409df19
common/src/main/java/com/genexus/GXExternalCollection.java
@@ -101,12 +101,12 @@ public Vector getStruct()
101
102
@SuppressWarnings("unchecked")
103
public <E> ArrayList<E> getExternalInstance() {
104
- ArrayList list = new ArrayList();
+ ArrayList<E> list = new ArrayList<>();
105
for (T Item : this)
106
{
107
try
108
109
- list.add(Item.getClass().getMethod("getExternalInstance", new Class[]{}).invoke(Item));
+ list.add((E) Item.getClass().getMethod("getExternalInstance", new Class[]{}).invoke(Item));
110
}
111
catch (Exception e)
112
0 commit comments