This is an automated email from the ASF dual-hosted git repository.
andor 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 1c92a1f Revert "ZOOKEEPER-4007: A typo in the
ZKUtil#validateFileInput method"
1c92a1f is described below
commit 1c92a1f950d5efd2956fe85c6b9c843648b7a6e8
Author: Andor Molnar <[email protected]>
AuthorDate: Tue Feb 9 12:00:07 2021 +0100
Revert "ZOOKEEPER-4007: A typo in the ZKUtil#validateFileInput method"
This reverts commit 4faf507771889c7f6280d41ac4a615467680553f.
---
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 fd35ae3..2e29cc7 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 directory. it must
be a file.";
+ return "'" + file.getAbsolutePath() + "' is a direcory. it must be
a file.";
}
return null;
}