Skip to content

Commit 2ff5149

Browse files
author
PrateekSane
committed
checkstyle
1 parent 7a278e9 commit 2ff5149

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/ECBlockGroupStats.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ public long getPendingDeletionBlocks() {
8383
return pendingDeletionBlocks;
8484
}
8585

86-
public boolean hasBadlyDistributedBlocks() { return getBadlyDistributedBlocks() != null; }
86+
public boolean hasBadlyDistributedBlocks() {
87+
return getBadlyDistributedBlocks() != null;
88+
}
8789

8890
public Long getBadlyDistributedBlocks() {
8991
return badlyDistributedBlocks;

hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/ReplicatedBlockStats.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ public long getPendingDeletionBlocks() {
8989
return pendingDeletionBlocks;
9090
}
9191

92-
public boolean hasBadlyDistributedBlocks() {return getBadlyDistributedBlocks() != null; }
92+
public boolean hasBadlyDistributedBlocks() {
93+
return getBadlyDistributedBlocks() != null;
94+
}
9395

9496
public Long getBadlyDistributedBlocks() {
9597
return badlyDistributedBlocks;

0 commit comments

Comments
 (0)