Author: adrianc
Date: Wed Apr 3 07:55:02 2013
New Revision: 1463859
URL:
http://svn.apache.org/r1463859Log:
Log message cleanup in ModelReader.java.
Modified:
ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelReader.java
Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelReader.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelReader.java?rev=1463859&r1=1463858&r2=1463859&view=diff==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelReader.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelReader.java Wed Apr 3 07:55:02 2013
@@ -423,13 +423,12 @@ TEMP_VIEW_LOOP:
}
}
}
-
- for (String message: orderedMessages) {
- Debug.logInfo(message, module);
+ if (Debug.infoOn()) {
+ for (String message : orderedMessages) {
+ Debug.logInfo(message, module);
+ }
+ Debug.logInfo("FINISHED LOADING ENTITIES - ALL FILES; #Entities=" + numEntities + " #ViewEntities=" + numViewEntities + " #Fields=" + numFields + " #Relationships=" + numRelations + " #AutoRelationships=" + numAutoRelations, module);
}
-
- Debug.log("FINISHED LOADING ENTITIES - ALL FILES; #Entities=" + numEntities + " #ViewEntities=" +
- numViewEntities + " #Fields=" + numFields + " #Relationships=" + numRelations + " #AutoRelationships=" + numAutoRelations, module);
}
}
}