summaryrefslogtreecommitdiffstats
path: root/src/java/com/sun/gluegen/ReferencedStructs.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com/sun/gluegen/ReferencedStructs.java')
-rw-r--r--src/java/com/sun/gluegen/ReferencedStructs.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/java/com/sun/gluegen/ReferencedStructs.java b/src/java/com/sun/gluegen/ReferencedStructs.java
index 6c0dfb4..21d1142 100644
--- a/src/java/com/sun/gluegen/ReferencedStructs.java
+++ b/src/java/com/sun/gluegen/ReferencedStructs.java
@@ -43,13 +43,14 @@ import java.util.*;
import com.sun.gluegen.cgram.types.*;
public class ReferencedStructs implements TypeVisitor {
- private Set results = new HashSet();
+
+ private final Set<Type> results = new HashSet<Type>();
public void clear() {
results.clear();
}
- public Iterator results() {
+ public Iterator<Type> results() {
return results.iterator();
}