Skip to content

Commit 1c92a1f

Browse files
committed
Revert "ZOOKEEPER-4007: A typo in the ZKUtil#validateFileInput method"
This reverts commit 4faf507.
1 parent 4faf507 commit 1c92a1f

File tree

1 file changed

+1
-1
lines changed
  • zookeeper-server/src/main/java/org/apache/zookeeper

1 file changed

+1
-1
lines changed

Diff for: zookeeper-server/src/main/java/org/apache/zookeeper/ZKUtil.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ public static String validateFileInput(String filePath) {
163163
return "Read permission is denied on the file '" + file.getAbsolutePath() + "'";
164164
}
165165
if (file.isDirectory()) {
166-
return "'" + file.getAbsolutePath() + "' is a directory. it must be a file.";
166+
return "'" + file.getAbsolutePath() + "' is a direcory. it must be a file.";
167167
}
168168
return null;
169169
}

0 commit comments

Comments
 (0)