src/solaris/classes/sun/nio/fs/LinuxUserDefinedFileAttributeView.java

Print this page

        

@@ -61,11 +61,11 @@
         return bytes;
     }
 
     // Parses buffer as array of NULL-terminated C strings.
     private List<String> asList(long address, int size) {
-        final List<String> list = new ArrayList<String>();
+        final List<String> list = new ArrayList<>();
         int start = 0;
         int pos = 0;
         while (pos < size) {
             if (unsafe.getByte(address + pos) == 0) {
                 int len = pos - start;