HDFS-11250. Fix a typo in ReplicaUnderRecovery#setRecoveryID. Contributed by Yiqun Lin.

(cherry picked from commit 8f218ea284)
(cherry picked from commit 1b39268233)
This commit is contained in:
Akira Ajisaka 2016-12-26 16:51:29 +09:00
parent 704560d95f
commit daa475ff72
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ public void setRecoveryID(long recoveryId) {
if (recoveryId > this.recoveryId) { if (recoveryId > this.recoveryId) {
this.recoveryId = recoveryId; this.recoveryId = recoveryId;
} else { } else {
throw new IllegalArgumentException("The new rcovery id: " + recoveryId throw new IllegalArgumentException("The new recovery id: " + recoveryId
+ " must be greater than the current one: " + this.recoveryId); + " must be greater than the current one: " + this.recoveryId);
} }
} }