No functional change, puts back this comment after r1818495, it may helps

sometimes

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818571 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacques Le Roux
2017-12-18 14:07:58 +00:00
parent 94fe00ce61
commit a8d6883644
@@ -177,6 +177,7 @@ 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);
}
}
for (String keyToRemove: keysToRemove) { map.remove(keyToRemove); }