Author: jonesde
Date: Thu Jul 9 13:17:08 2009
New Revision: 792546
URL:
http://svn.apache.org/viewvc?rev=792546&view=revLog:
Removed comments so that queries won't always show in the log; thanks to Adam for the reminder
Modified:
ofbiz/trunk/framework/entity/src/org/ofbiz/entity/datasource/GenericDAO.java
Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/datasource/GenericDAO.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/datasource/GenericDAO.java?rev=792546&r1=792545&r2=792546&view=diff==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/datasource/GenericDAO.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/datasource/GenericDAO.java Thu Jul 9 13:17:08 2009
@@ -745,9 +745,9 @@
if (Debug.timingOn()) {
long queryEndTime = System.currentTimeMillis();
long queryTotalTime = queryEndTime - queryStartTime;
- // TODO remove comment: if (queryTotalTime > 150) {
+ if (queryTotalTime > 150) {
Debug.logTiming("Ran query in " + queryTotalTime + " milli-seconds: " + sql, module);
- //}
+ }
}
return new EntityListIterator(sqlP, modelEntity, selectFields, modelFieldTypeReader);
}