@@ -328,11 +328,11 @@ * @since 1.7 */ public static FileChannel open(Path path, OpenOption... options) throws IOException { - Set<OpenOption> set = new HashSet<OpenOption>(options.length); + Set<OpenOption> set = new HashSet<>(options.length); Collections.addAll(set, options); return open(path, set, NO_ATTRIBUTES); } // -- Channel operations --