Repository: commons-compress Updated Branches: refs/heads/master 040685c80 -> 8cc2702c9
typo Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/2544a0cf Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/2544a0cf Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/2544a0cf Branch: refs/heads/master Commit: 2544a0cf5252027dcd42d9c9fdd73fdfceab396d Parents: 040685c Author: Stefan Bodewig <bode...@apache.org> Authored: Fri May 11 21:45:36 2018 +0200 Committer: Stefan Bodewig <bode...@apache.org> Committed: Fri May 11 21:45:36 2018 +0200 ---------------------------------------------------------------------- .../org/apache/commons/compress/archivers/examples/Expander.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-compress/blob/2544a0cf/src/main/java/org/apache/commons/compress/archivers/examples/Expander.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/compress/archivers/examples/Expander.java b/src/main/java/org/apache/commons/compress/archivers/examples/Expander.java index 4f33848..acdf4dc 100644 --- a/src/main/java/org/apache/commons/compress/archivers/examples/Expander.java +++ b/src/main/java/org/apache/commons/compress/archivers/examples/Expander.java @@ -244,7 +244,7 @@ public class Expander { File f = new File(targetDirectory, nextEntry.getName()); if (!f.getCanonicalPath().startsWith(targetDirPath)) { throw new IOException("expanding " + nextEntry.getName() - + " would craete file outside of " + targetDirectory); + + " would create file outside of " + targetDirectory); } if (nextEntry.isDirectory()) { if (!f.isDirectory() && !f.mkdirs()) {