No functional change: removes unused UtilCache.createLineInfo() method, found

while working on OFBIZ-8321

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1764222 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacques Le Roux
2016-10-11 10:37:27 +00:00
parent 0177715de3
commit 02203f4c01
@@ -18,7 +18,6 @@
*******************************************************************************/
package org.apache.ofbiz.base.util.cache;
import java.io.IOException;
import java.io.NotSerializableException;
import java.io.Serializable;
import java.util.Collection;
@@ -654,14 +653,6 @@ public class UtilCache<K, V> implements Serializable, EvictionListener<Object, C
return lineInfo;
}
private Map<String, Object> createLineInfo(int keyNum, K key, V value) {
Map<String, Object> lineInfo = new HashMap<String, Object>();
lineInfo.put("elementKey", key);
lineInfo.put("lineSize", findSizeInBytes(value));
lineInfo.put("keyNum", keyNum);
return lineInfo;
}
public Collection<? extends Map<String, Object>> getLineInfos() {
List<Map<String, Object>> lineInfos = new LinkedList<Map<String, Object>>();
int keyIndex = 0;