diff options
author | chegar <none@none> | 2013-06-17 14:09:25 +0100 |
---|---|---|
committer | chegar <none@none> | 2013-06-17 14:09:25 +0100 |
commit | f7f15ab1605aa0ac7310abee9f604b5a45d47577 (patch) | |
tree | 42879144cb123db5dae141975f82b46a3fed46ba /src/solaris/classes/sun/awt/X11/XScrollbar.java | |
parent | fc1ff615b780060ac479bdd114a304464c8f0894 (diff) | |
download | jdk8u_jdk-f7f15ab1605aa0ac7310abee9f604b5a45d47577.tar.gz |
8016747: Replace deprecated PlatformLogger isLoggable(int) with isLoggable(Level)
Reviewed-by: darcy
Diffstat (limited to 'src/solaris/classes/sun/awt/X11/XScrollbar.java')
-rw-r--r-- | src/solaris/classes/sun/awt/X11/XScrollbar.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/solaris/classes/sun/awt/X11/XScrollbar.java b/src/solaris/classes/sun/awt/X11/XScrollbar.java index d8a8aaf847..6afbac21fe 100644 --- a/src/solaris/classes/sun/awt/X11/XScrollbar.java +++ b/src/solaris/classes/sun/awt/X11/XScrollbar.java @@ -118,7 +118,7 @@ abstract class XScrollbar { abstract protected void rebuildArrows(); public void setSize(int width, int height) { - if (log.isLoggable(PlatformLogger.FINER)) { + if (log.isLoggable(PlatformLogger.Level.FINER)) { log.finer("Setting scroll bar " + this + " size to " + width + "x" + height); } this.width = width; @@ -166,7 +166,7 @@ abstract class XScrollbar { * @param paintAll paint the whole scrollbar if true, just the thumb is false */ void paint(Graphics g, Color colors[], boolean paintAll) { - if (log.isLoggable(PlatformLogger.FINER)) { + if (log.isLoggable(PlatformLogger.Level.FINER)) { log.finer("Painting scrollbar " + this); } @@ -339,7 +339,7 @@ abstract class XScrollbar { * Tell the scroller to start scrolling. */ void startScrolling() { - if (log.isLoggable(PlatformLogger.FINER)) { + if (log.isLoggable(PlatformLogger.Level.FINER)) { log.finer("Start scrolling on " + this); } // Make sure that we scroll at least once @@ -361,7 +361,7 @@ abstract class XScrollbar { * See 6243382 for more information */ void startScrollingInstance() { - if (log.isLoggable(PlatformLogger.FINER)) { + if (log.isLoggable(PlatformLogger.Level.FINER)) { log.finer("Start scrolling on " + this); } // Make sure that we scroll at least once @@ -376,7 +376,7 @@ abstract class XScrollbar { * See 6243382 for more information */ void stopScrollingInstance() { - if (log.isLoggable(PlatformLogger.FINER)) { + if (log.isLoggable(PlatformLogger.Level.FINER)) { log.finer("Stop scrolling on " + this); } @@ -464,7 +464,7 @@ abstract class XScrollbar { return; } - if (log.isLoggable(PlatformLogger.FINER)) { + if (log.isLoggable(PlatformLogger.Level.FINER)) { String type; switch (id) { case MouseEvent.MOUSE_PRESSED: |