diff options
author | Michael Bien <[email protected]> | 2009-12-01 23:24:30 +0100 |
---|---|---|
committer | Michael Bien <[email protected]> | 2009-12-01 23:24:30 +0100 |
commit | b0758ce498793c5e130493d9a03d7632de152855 (patch) | |
tree | 2597fa7f1e10dea4ffebff383ec830988460361d /src/java/com/sun/gluegen/ReferencedStructs.java | |
parent | 0a5bc7f5a379b52cf5fe6bb9ea22f59fdec1fff0 (diff) |
Code cleanup. Ported package com.sun.gluegen to java 5 language level.
Diffstat (limited to 'src/java/com/sun/gluegen/ReferencedStructs.java')
-rw-r--r-- | src/java/com/sun/gluegen/ReferencedStructs.java | 5 |
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(); } |