diff --git a/com.ibm.wala.core/src/com/ibm/wala/util/collections/HashSetFactory.java b/com.ibm.wala.core/src/com/ibm/wala/util/collections/HashSetFactory.java index bbb20fb7e..76729c5e8 100644 --- a/com.ibm.wala.core/src/com/ibm/wala/util/collections/HashSetFactory.java +++ b/com.ibm.wala.core/src/com/ibm/wala/util/collections/HashSetFactory.java @@ -15,10 +15,8 @@ import java.util.HashSet; import java.util.LinkedHashSet; /** - * * A debugging aid. When HashSetFactory.DEBUG is set, this class creates ParanoidHashSets. Otherwise, * it returns {@link LinkedHashSet}s - * @author sfink */ public class HashSetFactory { @@ -28,7 +26,7 @@ public class HashSetFactory { final public static boolean DEBUG = false; /** - * @return A ParanoidHashSet if DEBUG = true, a java.util.HashSet otherwise + * @return A {@link ParanoidHashSet} if DEBUG = true, a java.util.HashSet otherwise */ public static HashSet make(int size) { if (DEBUG) { @@ -49,18 +47,6 @@ public class HashSetFactory { } } -// -// /** -// * @return A ParanoidHashSet if DEBUG = true, a java.util.HashSet otherwise -// */ -// public static HashSet make(Set s) { -// if (DEBUG) { -// return new ParanoidHashSet(s); -// } else { -// return new HashSet(s); -// } -// } - /** * @return A ParanoidHashSet if DEBUG = true, a java.util.HashSet otherwise */