Skip to content

Commit 89291c0

Browse files
committed
Remove unnecessary concurrentMap usage (confused this with a HashMap)
Signed-off-by: Felipe <afrueda97@outlook.com>
1 parent 9868671 commit 89291c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

analyzer/java/com/engflow/bazel/invocation/analyzer/bazelprofile/BazelProfile.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ private BazelProfile(JsonReader profileReader) {
152152
}
153153
threads =
154154
threadBuilders.entrySet().stream()
155-
.collect(Collectors.toConcurrentMap(Map.Entry::getKey, e -> e.getValue().build()));
155+
.collect(Collectors.toMap(Map.Entry::getKey, e -> e.getValue().build()));
156156
} catch (IllegalStateException | IOException e) {
157157
throw new IllegalArgumentException("Could not parse Bazel profile.", e);
158158
}

0 commit comments

Comments
 (0)