From d7fb6a7bcfbd2d5ac452abdcdd31fb4d71441c70 Mon Sep 17 00:00:00 2001 From: Harvey Harrison Date: Mon, 15 Oct 2012 23:49:08 -0700 Subject: gluegen: generics annotations for various ArrayList/List use - Use the copy constructor rather than ArrayList.clone() - constrain listsEqual so the compiler will warn about comparing lists of different types Signed-off-by: Harvey Harrison --- src/java/com/jogamp/common/util/IntIntHashMap.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/java/com/jogamp/common') diff --git a/src/java/com/jogamp/common/util/IntIntHashMap.java b/src/java/com/jogamp/common/util/IntIntHashMap.java index 487914b..5146d44 100644 --- a/src/java/com/jogamp/common/util/IntIntHashMap.java +++ b/src/java/com/jogamp/common/util/IntIntHashMap.java @@ -152,7 +152,7 @@ public class /*name*/IntIntHashMap/*name*/ implements Cloneable, Iterable { for(int i=table.length-1; i>=0; i--) { // single linked list -> ArrayList - final ArrayList entries = new ArrayList(); + final ArrayList entries = new ArrayList(); Entry se = table[i]; while(null != se) { entries.add(se); -- cgit v1.2.3