< prev index next >

src/solaris/classes/sun/awt/X11/XProtocol.java

Print this page
rev 1571 : 8010297: Missing isLoggable() checks in logging code
Summary: Add isLoggable() checks
Reviewed-by: anthony, mchung, serb
Contributed-by: Laurent Bourges <bourges.laurent@gmail.com>

*** 54,64 **** } finally { if (firstCheck) { firstCheck = false; if (log.isLoggable(Level.FINE)) { log.log(Level.FINE, "{0}:{1} supports {2}", ! new Object[] {String.valueOf(this), String.valueOf(listName), String.valueOf(protocols)}); } } } } --- 54,66 ---- } finally { if (firstCheck) { firstCheck = false; if (log.isLoggable(Level.FINE)) { log.log(Level.FINE, "{0}:{1} supports {2}", ! new Object[] {String.valueOf(this), ! String.valueOf(listName), ! String.valueOf(protocols)}); } } } }
< prev index next >