Skip to content

Commit 409df19

Browse files
iroquetaBeta Bot
authored andcommitted
Cherry pick branch 'genexuslabs:fix/issue205291_main-net' into beta
1 parent 81ddfe6 commit 409df19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common/src/main/java/com/genexus/GXExternalCollection.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,12 @@ public Vector getStruct()
101101

102102
@SuppressWarnings("unchecked")
103103
public <E> ArrayList<E> getExternalInstance() {
104-
ArrayList list = new ArrayList();
104+
ArrayList<E> list = new ArrayList<>();
105105
for (T Item : this)
106106
{
107107
try
108108
{
109-
list.add(Item.getClass().getMethod("getExternalInstance", new Class[]{}).invoke(Item));
109+
list.add((E) Item.getClass().getMethod("getExternalInstance", new Class[]{}).invoke(Item));
110110
}
111111
catch (Exception e)
112112
{

0 commit comments

Comments
 (0)