diff --git a/src/fr/devinsy/statoolinfos/metrics/http/IpCounters.java b/src/fr/devinsy/statoolinfos/metrics/http/IpCounters.java index 47cab31..cb683b9 100644 --- a/src/fr/devinsy/statoolinfos/metrics/http/IpCounters.java +++ b/src/fr/devinsy/statoolinfos/metrics/http/IpCounters.java @@ -69,7 +69,6 @@ public class IpCounters extends HashMap for (String timeMark : keySet()) { StringSet set = get(timeMark); - result.inc(set.size(), prefix, timeMark); } @@ -87,7 +86,7 @@ public class IpCounters extends HashMap */ public void put(final String ip, final String timemark) { - StringSet set = super.get(ip); + StringSet set = super.get(timemark); if (set == null) { set = new StringSet();