浏览代码

Revert "ZOOKEEPER-4007: A typo in the ZKUtil#validateFileInput method"

This reverts commit 4faf507771889c7f6280d41ac4a615467680553f.
Andor Molnar 4 年之前
父节点
当前提交
1c92a1f950
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      zookeeper-server/src/main/java/org/apache/zookeeper/ZKUtil.java

+ 1 - 1
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;
     }