tweak some comments

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3017 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
sjfink 2008-09-02 16:07:53 +00:00
parent 8925ec7f9e
commit 061a9b8d45
1 changed files with 1 additions and 15 deletions

View File

@ -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 <T> HashSet<T> 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 <T> HashSet<T> make(Set<T> s) {
// if (DEBUG) {
// return new ParanoidHashSet<T>(s);
// } else {
// return new HashSet<T>(s);
// }
// }
/**
* @return A ParanoidHashSet if DEBUG = true, a java.util.HashSet otherwise
*/