You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ad...@apache.org on 2013/04/03 09:55:02 UTC
svn commit: r1463859 -
/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelReader.java
Author: adrianc
Date: Wed Apr 3 07:55:02 2013
New Revision: 1463859
URL: http://svn.apache.org/r1463859
Log:
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);
}
}
}