< prev index next >
src/solaris/classes/sun/awt/X11/XFileDialogPeer.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>
*** 696,706 ****
--- 696,708 ----
dir = dir.substring(0,i) + System.getProperty("user.home") + dir.substring(i+1,dir.length());
}
File fe = new File(dir).getAbsoluteFile();
+ if (log.isLoggable(Level.FINE)) {
log.fine("Current directory : " + fe);
+ }
if (!fe.isDirectory()) {
dir = "./";
fe = new File(dir).getAbsoluteFile();
< prev index next >