src/share/classes/java/awt/AttributeValue.java

Print this page

        

@@ -31,15 +31,15 @@
     private static final PlatformLogger log = PlatformLogger.getLogger("java.awt.AttributeValue");
     private final int value;
     private final String[] names;
 
     protected AttributeValue(int value, String[] names) {
-        if (log.isLoggable(PlatformLogger.FINEST)) {
+        if (log.isLoggable(PlatformLogger.Level.FINEST)) {
             log.finest("value = " + value + ", names = " + names);
         }
 
-        if (log.isLoggable(PlatformLogger.FINER)) {
+        if (log.isLoggable(PlatformLogger.Level.FINER)) {
             if ((value < 0) || (names == null) || (value >= names.length)) {
                 log.finer("Assertion failed");
             }
         }
         this.value = value;