| 
					
				 | 
			
			
				@@ -1,7 +1,6 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 package com.kmall.common.utils.redis; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.google.common.collect.Sets; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import com.mysql.jdbc.StringUtils; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.slf4j.Logger; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.slf4j.LoggerFactory; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.springframework.stereotype.Component; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -599,7 +598,7 @@ public class JedisUtil { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 value = new HashMap<String, Object>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 Map<byte[], byte[]> map = jedis.hgetAll(getBytesKey(key)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 for (Map.Entry<byte[], byte[]> e : map.entrySet()) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    value.put(StringUtils.toString(e.getKey()), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    value.put(String.valueOf(e.getKey()), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             toObject(e.getValue())); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 logger.debug("getObjectMap {} ", key, value); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -955,7 +954,8 @@ public class JedisUtil { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public static byte[] getBytesKey(Object object) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (object instanceof String) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            return StringUtils.getBytes((String) object); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            String ob =(String) object; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return ob.getBytes(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             return ObjectUtils.serialize(object); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -969,7 +969,7 @@ public class JedisUtil { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public static Object getObjectKey(byte[] key) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         try { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            return StringUtils.toString(key); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return String.valueOf(key); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } catch (UnsupportedOperationException uoe) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             try { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 return JedisUtil.toObject(key); 
			 |