[Swift-commit] r5772 - trunk/src/org/griphyn/vdl/mapping
hategan at ci.uchicago.edu
hategan at ci.uchicago.edu
Sat Apr 28 20:42:48 CDT 2012
Author: hategan
Date: 2012-04-28 20:42:48 -0500 (Sat, 28 Apr 2012)
New Revision: 5772
Modified:
trunk/src/org/griphyn/vdl/mapping/RootDataNode.java
Log:
check logging level
Modified: trunk/src/org/griphyn/vdl/mapping/RootDataNode.java
===================================================================
--- trunk/src/org/griphyn/vdl/mapping/RootDataNode.java 2012-04-29 01:42:37 UTC (rev 5771)
+++ trunk/src/org/griphyn/vdl/mapping/RootDataNode.java 2012-04-29 01:42:48 UTC (rev 5772)
@@ -138,7 +138,9 @@
}
// Static mappers are (array) mappers which know the size of
// an array statically. A good example is the fixed array mapper
- logger.debug("mapper: " + mapper);
+ if (logger.isDebugEnabled()) {
+ logger.debug("mapper: " + mapper);
+ }
for (Path p : mapper.existing()) {
try {
// Try to get the path in order to check that the
More information about the Swift-commit
mailing list