changeset 22163 | 3651128c74eb |
parent 15368 | 2577ddb7e710 |
child 22449 | 1fd6d4bec7dd |
--- a/langtools/src/share/classes/com/sun/tools/sjavac/Util.java Wed Dec 18 19:22:58 2013 +0000 +++ b/langtools/src/share/classes/com/sun/tools/sjavac/Util.java Wed Dec 18 16:05:18 2013 -0500 @@ -121,7 +121,7 @@ * Convenience method to create a set with strings. */ public static Set<String> set(String... ss) { - Set<String> set = new HashSet<String>(); + Set<String> set = new HashSet<>(); set.addAll(Arrays.asList(ss)); return set; }