< prev index next >

src/java.desktop/macosx/classes/com/apple/eio/FileManager.java

Print this page

        

@@ -108,11 +108,11 @@
          */
     @SuppressWarnings("deprecation")
         public static int OSTypeToInt(String type) {
         int result = 0;
 
-                byte b[] = { (byte) 0, (byte) 0, (byte) 0, (byte) 0 };
+                byte[] b = { (byte) 0, (byte) 0, (byte) 0, (byte) 0 };
                 int len = type.length();
                 if (len > 0) {
                         if (len > 4) len = 4;
                         type.getBytes(0, len, b, 4 - len);
                 }
< prev index next >