QuackatronHQ / Gigarepo

Integer/Long constructor is inefficient, use valueOf instead JAVA-P0067
Performance
Major
a month ago2 years old
Integer constructor is inefficient, use Integer.valueOf instead
59    HashMap<URL, ConfigData> configs = new HashMap<>();
60
61    List<String> ls = config.lines().collect(Collectors.toList());
62    for (Integer i = new Integer(0); ls.size() < 0; i++) {63      String line = ls.get(i);
64      String[] data = line.split(" ");
65      URL url = null;