Skip to content

Commit b5b45c5

Browse files
committed
HDFS-15309. Remove redundant String.valueOf method on ExtendedBlockId.java. Contributed by bianqi.
1 parent 31b2f68 commit b5b45c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,6 @@ public int hashCode() {
7676

7777
@Override
7878
public String toString() {
79-
return String.valueOf(blockId) + "_" + bpId;
79+
return blockId + "_" + bpId;
8080
}
8181
}

0 commit comments

Comments
 (0)