Mercurial > hg > truffle
comparison graal/com.oracle.max.base/src/com/sun/max/program/ClassSearch.java @ 4142:bc8527f3071c
Adjust code base to new level of warnings.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sun, 18 Dec 2011 05:24:06 +0100 |
parents | e233f5660da4 |
children |
comparison
equal
deleted
inserted
replaced
4141:04d21be7a24f | 4142:bc8527f3071c |
---|---|
44 * | 44 * |
45 * @param omitDuplicates if true, then each argument passed to {@link #visitClass(String)} is guaranteed to be unique. | 45 * @param omitDuplicates if true, then each argument passed to {@link #visitClass(String)} is guaranteed to be unique. |
46 */ | 46 */ |
47 public ClassSearch(boolean omitDuplicates) { | 47 public ClassSearch(boolean omitDuplicates) { |
48 if (omitDuplicates) { | 48 if (omitDuplicates) { |
49 classes = new HashSet<String>(); | 49 classes = new HashSet<>(); |
50 } else { | 50 } else { |
51 classes = null; | 51 classes = null; |
52 } | 52 } |
53 } | 53 } |
54 | 54 |