Skip to content

Commit

Permalink
Fix some checkstyle errors
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoujinsong committed Oct 30, 2024
1 parent e73ca0a commit b9d6da9
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,11 @@ private void initPartitionPlans(TableFileScanHelper tableFileScanHelper) {
mixedTable.id(),
count,
System.currentTimeMillis() - startTime);
partitionPlanMap = partitionPlanMap.entrySet().stream()
.filter(entry -> entry.getValue().isNecessary())
.limit(maxPendingPartitions)
.collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue));
partitionPlanMap =
partitionPlanMap.entrySet().stream()
.filter(entry -> entry.getValue().isNecessary())
.limit(maxPendingPartitions)
.collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue));
}

private Map<String, String> partitionProperties(Pair<Integer, StructLike> partition) {
Expand Down

0 comments on commit b9d6da9

Please sign in to comment.