Skip to content

Commit

Permalink
ZipFileSystem: fix typo in ZipException
Browse files Browse the repository at this point in the history
  • Loading branch information
simon04 committed Feb 16, 2021
1 parent 8ba390d commit 16ec3b9
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1912,7 +1912,7 @@ public void deleteFile(byte[] path, boolean failIfNotExists)
IndexNode inode = getInode(path);
if (inode == null) {
if (path != null && path.length == 0)
throw new ZipException("root directory </> can't not be delete");
throw new ZipException("root directory </> cannot be deleted");
if (failIfNotExists)
throw new NoSuchFileException(getString(path));
} else {
Expand Down

0 comments on commit 16ec3b9

Please sign in to comment.