langtools/src/share/classes/com/sun/tools/sjavac/Util.java
changeset 22163 3651128c74eb
parent 15368 2577ddb7e710
child 22449 1fd6d4bec7dd
equal deleted inserted replaced
22162:3b3e23e67329 22163:3651128c74eb
   119 
   119 
   120     /**
   120     /**
   121      * Convenience method to create a set with strings.
   121      * Convenience method to create a set with strings.
   122      */
   122      */
   123     public static Set<String> set(String... ss) {
   123     public static Set<String> set(String... ss) {
   124         Set<String> set = new HashSet<String>();
   124         Set<String> set = new HashSet<>();
   125         set.addAll(Arrays.asList(ss));
   125         set.addAll(Arrays.asList(ss));
   126         return set;
   126         return set;
   127     }
   127     }
   128 
   128 
   129     /**
   129     /**