< prev index next >

src/java.base/share/classes/java/util/SimpleTimeZone.java

Print this page

        

@@ -1112,13 +1112,13 @@
      * recreate the array each time we create a new time zone.
      * @serial An array of bytes containing the values {31, 28, 31, 30, 31, 30,
      * 31, 31, 30, 31, 30, 31}.  This is ignored as of the Java 2 platform v1.2, however, it must
      * be streamed out for compatibility with JDK 1.1.
      */
-    private final byte monthLength[] = staticMonthLength;
-    private static final byte staticMonthLength[] = {31,28,31,30,31,30,31,31,30,31,30,31};
-    private static final byte staticLeapMonthLength[] = {31,29,31,30,31,30,31,31,30,31,30,31};
+    private final byte[] monthLength = staticMonthLength;
+    private static final byte[] staticMonthLength = {31,28,31,30,31,30,31,31,30,31,30,31};
+    private static final byte[] staticLeapMonthLength = {31,29,31,30,31,30,31,31,30,31,30,31};
 
     /**
      * Variables specifying the mode of the start rule.  Takes the following
      * values:
      * <dl>
< prev index next >