Skip to content

Commit

Permalink
refactor: replace Map entry to compatible with Java 8 implementation (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
djenczewski committed Dec 13, 2024
1 parent d98d83f commit a4212ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public void unbind(Object context) {
map.entrySet()
.stream()
.map(entry ->
Map.entry(entry.getKey().split("_")[0], entry.getValue())
new AbstractMap.SimpleImmutableEntry<>(entry.getKey().split("_")[0], entry.getValue())
)
.filter(entry -> !entry.getValue().isEmpty())
.forEach(entry -> {
Expand Down

0 comments on commit a4212ad

Please sign in to comment.