Skip to content

Commit

Permalink
remove excess system.out.println
Browse files Browse the repository at this point in the history
  • Loading branch information
JurenIvan committed Jan 31, 2024
1 parent 5de857f commit 8bd4652
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ public class CalculateAverage_JurenIvan {
private static final String FILE_NAME = "./measurements.txt";

public static void main(String[] args) throws IOException {
long start = System.currentTimeMillis();
long[] segments = getSegments(Runtime.getRuntime().availableProcessors());

var result = IntStream.range(0, segments.length - 1)
Expand All @@ -46,9 +45,6 @@ public static void main(String[] args) throws IOException {
.collect(Collectors.toMap(m -> new String(m.city), m -> m, Measurement::merge, TreeMap::new));

System.out.println(result);
long end = System.currentTimeMillis();

System.out.println(end - start);
}

private static LinearProbingHashMap processSegment(long start, long end) {
Expand Down

0 comments on commit 8bd4652

Please sign in to comment.