aboutsummaryrefslogtreecommitdiff
path: root/src/solaris/classes/sun/awt/X11GraphicsEnvironment.java
diff options
context:
space:
mode:
authorchegar <none@none>2013-06-17 14:09:25 +0100
committerchegar <none@none>2013-06-17 14:09:25 +0100
commitf7f15ab1605aa0ac7310abee9f604b5a45d47577 (patch)
tree42879144cb123db5dae141975f82b46a3fed46ba /src/solaris/classes/sun/awt/X11GraphicsEnvironment.java
parentfc1ff615b780060ac479bdd114a304464c8f0894 (diff)
downloadjdk8u_jdk-f7f15ab1605aa0ac7310abee9f604b5a45d47577.tar.gz
8016747: Replace deprecated PlatformLogger isLoggable(int) with isLoggable(Level)
Reviewed-by: darcy
Diffstat (limited to 'src/solaris/classes/sun/awt/X11GraphicsEnvironment.java')
-rw-r--r--src/solaris/classes/sun/awt/X11GraphicsEnvironment.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/solaris/classes/sun/awt/X11GraphicsEnvironment.java b/src/solaris/classes/sun/awt/X11GraphicsEnvironment.java
index ffb920b636..4e1c816fd1 100644
--- a/src/solaris/classes/sun/awt/X11GraphicsEnvironment.java
+++ b/src/solaris/classes/sun/awt/X11GraphicsEnvironment.java
@@ -324,7 +324,7 @@ public class X11GraphicsEnvironment
// pRunningXinerama() simply returns a global boolean variable,
// so there is no need to synchronize here
xinerState = Boolean.valueOf(pRunningXinerama());
- if (screenLog.isLoggable(PlatformLogger.FINER)) {
+ if (screenLog.isLoggable(PlatformLogger.Level.FINER)) {
screenLog.finer("Running Xinerama: " + xinerState);
}
}
@@ -408,7 +408,7 @@ public class X11GraphicsEnvironment
(unionRect.width / 2) + unionRect.x < center.x + 1 &&
(unionRect.height / 2) + unionRect.y < center.y + 1) {
- if (screenLog.isLoggable(PlatformLogger.FINER)) {
+ if (screenLog.isLoggable(PlatformLogger.Level.FINER)) {
screenLog.finer("Video Wall: center point is at center of all displays.");
}
return unionRect;
@@ -416,7 +416,7 @@ public class X11GraphicsEnvironment
// next, check if at center of one monitor
if (centerMonitorRect != null) {
- if (screenLog.isLoggable(PlatformLogger.FINER)) {
+ if (screenLog.isLoggable(PlatformLogger.Level.FINER)) {
screenLog.finer("Center point at center of a particular " +
"monitor, but not of the entire virtual display.");
}
@@ -424,7 +424,7 @@ public class X11GraphicsEnvironment
}
// otherwise, the center is at some weird spot: return unionRect
- if (screenLog.isLoggable(PlatformLogger.FINER)) {
+ if (screenLog.isLoggable(PlatformLogger.Level.FINER)) {
screenLog.finer("Center point is somewhere strange - return union of all bounds.");
}
return unionRect;