From: David ‘Bombe’ Roden Date: Thu, 17 Nov 2016 19:37:42 +0000 (+0100) Subject: Remove superfluous code X-Git-Tag: 0.9.7^2~427 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=49a8ab6bd09b92822cd8cf1285c0b7a68e2bc8ca;p=Sone.git Remove superfluous code --- diff --git a/src/main/java/net/pterodactylus/sone/template/ReplyGroupFilter.java b/src/main/java/net/pterodactylus/sone/template/ReplyGroupFilter.java index 76ca103..fba51f9 100644 --- a/src/main/java/net/pterodactylus/sone/template/ReplyGroupFilter.java +++ b/src/main/java/net/pterodactylus/sone/template/ReplyGroupFilter.java @@ -71,9 +71,6 @@ public class ReplyGroupFilter implements Filter { } Map>> result = new HashMap<>(); for (Entry> postEntry : postSones.entrySet()) { - if (result.containsKey(postEntry.getKey())) { - continue; - } Map> postResult = new HashMap<>(); postResult.put("sones", postEntry.getValue()); postResult.put("replies", postReplies.get(postEntry.getKey()));