From e94bb70005482096216350a07e7609361f104274 Mon Sep 17 00:00:00 2001 From: fixminer Date: Mon, 20 Jan 2020 12:39:08 +0100 Subject: [PATCH] cganges --- src/main/java/edu/lu/uni/serval/utils/EDiffHelper.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/edu/lu/uni/serval/utils/EDiffHelper.java b/src/main/java/edu/lu/uni/serval/utils/EDiffHelper.java index a3bcfc9..2687b3f 100755 --- a/src/main/java/edu/lu/uni/serval/utils/EDiffHelper.java +++ b/src/main/java/edu/lu/uni/serval/utils/EDiffHelper.java @@ -328,7 +328,7 @@ public class EDiffHelper { } - public static String getTreeString(String prefix, String fn, JedisPool outerPool, HashMap filenames, String treeType) { + public static Map getTreeString(String prefix, String fn, JedisPool outerPool, HashMap filenames) { try (Jedis outer = outerPool.getResource()) { try { while (!outer.ping().equals("PONG")) { @@ -340,8 +340,8 @@ public class EDiffHelper { String[] split = prefix.split("-"); String key = split[0] + "/" + split[1] + "/" + dist2load; - String treeString = outer.hget(key, treeType); - return treeString; + Map treeMap = outer.hgetAll(key); + return treeMap; }catch (Exception e) { e.printStackTrace(); }