[Swift-commit] r5771 - trunk/src/org/griphyn/vdl/mapping

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Sat Apr 28 20:42:37 CDT 2012


Author: hategan
Date: 2012-04-28 20:42:37 -0500 (Sat, 28 Apr 2012)
New Revision: 5771

Modified:
   trunk/src/org/griphyn/vdl/mapping/RootArrayDataNode.java
Log:
check logging level

Modified: trunk/src/org/griphyn/vdl/mapping/RootArrayDataNode.java
===================================================================
--- trunk/src/org/griphyn/vdl/mapping/RootArrayDataNode.java	2012-04-29 01:42:17 UTC (rev 5770)
+++ trunk/src/org/griphyn/vdl/mapping/RootArrayDataNode.java	2012-04-29 01:42:37 UTC (rev 5771)
@@ -53,8 +53,10 @@
 		}
 	}
 
-	private synchronized void innerInit() {
-	    logger.debug("innerInit: " + this);
+	private synchronized void innerInit() {
+		if (logger.isDebugEnabled()) {
+		    logger.debug("innerInit: " + this);
+		}
 	    
 	    for (Map.Entry<String, Object> entry : params.entrySet()) {
 			Object v = entry.getValue();




More information about the Swift-commit mailing list