X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=auth%2Fauth-batch%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Faaf%2Fauth%2Fbatch%2Fhelpers%2FMonthData.java;h=b0499a2db6b04fcff9b7c526f679afe9524f030a;hb=e3163b2d5609753f874e2f52fd5ef67fa063af7a;hp=35ad6a10f119c1ab43c214f96b82ecec25716616;hpb=343481da5dac494c0b063f0b5b0ddb865fa1f214;p=aaf%2Fauthz.git diff --git a/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/MonthData.java b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/MonthData.java index 35ad6a10..b0499a2d 100644 --- a/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/MonthData.java +++ b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/MonthData.java @@ -65,16 +65,17 @@ public class MonthData { } } - public void add(int yr_mon, String target, long total, long adds, long drops) { - Set row = data.get(yr_mon); + public void add(int yrMon, String target, long total, long adds, long drops) { + Set row = data.get(yrMon); if (row==null) { - data.put(yr_mon, (row=new HashSet<>())); + row=new HashSet<>(); + data.put(yrMon, row); } row.add(new Row(target,total,adds,drops)); } - public boolean notExists(int yr_mon) { - return data.get(yr_mon)==null; + public boolean notExists(int yrMon) { + return data.get(yrMon)==null; } public static class Row implements Comparable {