Skip to content

Commit 2a62395

Browse files
author
Vladimir Kotal
committed
try to avoid calling Long constructor
1 parent a586fed commit 2a62395

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opengrok-indexer/src/test/java/org/opengrok/indexer/configuration/RuntimeEnvironmentTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ public void isChattyStatusPage() {
870870
protected Map<String, Long> createMap(Object[][] input) {
871871
Map<String, Long> map = new TreeMap<>();
872872
for (int i = 0; i < input.length; i++) {
873-
map.put((String) input[i][0], new Long((long) input[i][1]));
873+
map.put((String) input[i][0], (Long) input[i][1]);
874874
}
875875
return map;
876876
}

0 commit comments

Comments
 (0)