This is an automated email from the ASF dual-hosted git repository.
maoling pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zookeeper.git
The following commit(s) were added to refs/heads/master by this push:
new 4faf507 ZOOKEEPER-4007: A typo in the ZKUtil#validateFileInput method
4faf507 is described below
commit 4faf507771889c7f6280d41ac4a615467680553f
Author: luoman <[email protected]>
AuthorDate: Mon Feb 8 20:08:14 2021 +0800
ZOOKEEPER-4007: A typo in the ZKUtil#validateFileInput method
Author: luoman <[email protected]>
Reviewers: maoling <[email protected]>
Closes #1597 from LuoManGit/ZOOKEEPER-4007
---
zookeeper-server/src/main/java/org/apache/zookeeper/ZKUtil.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zookeeper-server/src/main/java/org/apache/zookeeper/ZKUtil.java
b/zookeeper-server/src/main/java/org/apache/zookeeper/ZKUtil.java
index 2e29cc7..fd35ae3 100644
--- a/zookeeper-server/src/main/java/org/apache/zookeeper/ZKUtil.java
+++ b/zookeeper-server/src/main/java/org/apache/zookeeper/ZKUtil.java
@@ -163,7 +163,7 @@ public class ZKUtil {
return "Read permission is denied on the file '" +
file.getAbsolutePath() + "'";
}
if (file.isDirectory()) {
- return "'" + file.getAbsolutePath() + "' is a direcory. it must be
a file.";
+ return "'" + file.getAbsolutePath() + "' is a directory. it must
be a file.";
}
return null;
}