ReceiveCommits: Change "can not" to "cannot" in error messages

Change-Id: Iac725169888d35fe416bba05c3bc2b82fff2b9f0
This commit is contained in:
David Pursehouse
2012-09-19 20:52:20 +09:00
committed by Gustaf Lundh
parent eb081dcfbf
commit 4bdb343f71

View File

@@ -888,7 +888,7 @@ public class ReceiveCommits {
reject(cmd, "cannot delete project configuration");
} else {
errors.put(Error.DELETE, ctl.getRefName());
reject(cmd, "can not delete references");
reject(cmd, "cannot delete references");
}
}
}
@@ -987,7 +987,7 @@ public class ReceiveCommits {
destBranchCtl = projectControl.controlForRef(destBranch);
if (!destBranchCtl.canUpload()) {
errors.put(Error.CODE_REVIEW, cmd.getRefName());
reject(cmd, "can not upload review");
reject(cmd, "cannot upload review");
return;
}