< prev index next >

src/java.desktop/share/classes/java/awt/BufferCapabilities.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -152,11 +152,11 @@
         private static int I_UNDEFINED = 0;
         private static int I_BACKGROUND = 1;
         private static int I_PRIOR = 2;
         private static int I_COPIED = 3;
 
-        private static final String NAMES[] =
+        private static final String[] NAMES =
             { "undefined", "background", "prior", "copied" };
 
         /**
          * When flip contents are {@code UNDEFINED}, the
          * contents of the back buffer are undefined after flipping.
< prev index next >