Author: jleroux
Date: Mon Dec 18 14:11:26 2017
New Revision: 1818574
URL:
http://svn.apache.org/viewvc?rev=1818574&view=revLog:
No functional change, puts back this comment after r1818495, it may helps
sometimes, but better be verbose and tested, else it's too much
Modified:
ofbiz/ofbiz-framework/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilMisc.java
Modified: ofbiz/ofbiz-framework/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilMisc.java
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilMisc.java?rev=1818574&r1=1818573&r2=1818574&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilMisc.java (original)
+++ ofbiz/ofbiz-framework/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilMisc.java Mon Dec 18 14:11:26 2017
@@ -177,7 +177,10 @@ public final class UtilMisc {
Object entryValue = mapEntry.getValue();
if (entryValue != null && !(entryValue instanceof Serializable)) {
keysToRemove.add(mapEntry.getKey());
- Debug.logInfo("Found Map value that is not Serializable: " + mapEntry.getKey() + "=" + mapEntry.getValue(), module);
+ if (Debug.verboseOn()) {
+ Debug.logVerbose("Found Map value that is not Serializable: " + mapEntry.getKey() + "=" + mapEntry.getValue(), module);
+ }
+
}
}
for (String keyToRemove: keysToRemove) { map.remove(keyToRemove); }