equal
deleted
inserted
replaced
185 return initialized; |
185 return initialized; |
186 } |
186 } |
187 |
187 |
188 private static Set<String> arrayToSet(String[] array) { |
188 private static Set<String> arrayToSet(String[] array) { |
189 assert array != null; |
189 assert array != null; |
190 Set<String> set = new HashSet<String>(array.length); |
190 Set<String> set = new HashSet<>(array.length); |
191 for (String s : array) |
191 for (String s : array) |
192 set.add(s); |
192 set.add(s); |
193 return Collections.unmodifiableSet(set); |
193 return Collections.unmodifiableSet(set); |
194 } |
194 } |
195 } |
195 } |