Author: jleroux
Date: Tue Oct 11 10:37:27 2016
New Revision: 1764222

URL: http://svn.apache.org/viewvc?rev=1764222&view=rev
Log:
No functional change: removes unused UtilCache.createLineInfo() method, found
while working on OFBIZ-8321

Modified:
    
ofbiz/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/cache/UtilCache.java

Modified: 
ofbiz/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/cache/UtilCache.java
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/cache/UtilCache.java?rev=1764222&r1=1764221&r2=1764222&view=diff
==============================================================================
--- 
ofbiz/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/cache/UtilCache.java
 (original)
+++ 
ofbiz/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/cache/UtilCache.java
 Tue Oct 11 10:37:27 2016
@@ -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;
@@ -653,14 +652,6 @@ public class UtilCache<K, V> implements
         lineInfo.put("keyNum", keyNum);
         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>>();


Reply via email to