Improved: Always check if debug verbose is on when using Debug.logVerbose()
(OFBIZ-10052) As spotted by Nicolas and reported on dev ML there was a case w/ a double check This removes it git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818010 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -251,7 +251,7 @@ public class EntitySaxReader extends DefaultHandler {
|
||||
}
|
||||
Debug.logImportant("Finished " + numberRead + " values from " + docDescription, module);
|
||||
if (Debug.verboseOn()) {
|
||||
if (Debug.verboseOn()) Debug.logVerbose(" Detail created : " + numberCreated + ", skipped : " + numberSkipped +
|
||||
Debug.logVerbose(" Detail created : " + numberCreated + ", skipped : " + numberSkipped +
|
||||
", updated : " + numberUpdated + ", replaced : " + numberReplaced +
|
||||
", deleted : " + numberDeleted, module);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user