You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[#2349] Improvement: Fix the warning: unchecked method invocation: method put in interface Map is applied to given types (#2352)
### What changes were proposed in this pull request?
Fix the warning: unchecked method invocation: method put in interface Map is applied to given types
### Why are the changes needed?
Fix: #2349
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
current UT
<img width="1133" alt="image" src="https://github.com/user-attachments/assets/36935007-9cbf-4ef7-8af2-17b8a0f3269b" />
Copy file name to clipboardExpand all lines: integration-test/common/src/test/java/org/apache/uniffle/test/RemoteMergeShuffleWithRssClientTestWhenShuffleFlushed.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -655,7 +655,7 @@ public void remoteMergeWriteReadTestMultiPartition(String classes) throws Except
655
655
Map<Integer, Set<Long>> ptb = newHashMap<>();
656
656
for (inti = PARTITION_ID; i < PARTITION_ID + 3; i++) {
657
657
finalintpartitionId = i;
658
-
ptb.put(partitionId, newHashSet());
658
+
ptb.put(partitionId, newHashSet<>());
659
659
ptb.get(partitionId)
660
660
.addAll(
661
661
blocks1.stream()
@@ -869,7 +869,7 @@ public void remoteMergeWriteReadTestMultiPartitionWithCombine(String classes) th
869
869
Map<Integer, Set<Long>> ptb = newHashMap<>();
870
870
for (inti = PARTITION_ID; i < PARTITION_ID + 3; i++) {
0 commit comments