Repository: commons-compress Updated Branches: refs/heads/compress-2.0 e36fcf9af -> 8d714b44d
javadoc Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/8d714b44 Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/8d714b44 Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/8d714b44 Branch: refs/heads/compress-2.0 Commit: 8d714b44d8336c502831c83d183cbcc058d93a32 Parents: e36fcf9 Author: Stefan Bodewig <bode...@apache.org> Authored: Sat Apr 29 16:48:23 2017 +0200 Committer: Stefan Bodewig <bode...@apache.org> Committed: Sat Apr 29 16:48:23 2017 +0200 ---------------------------------------------------------------------- .../commons/compress2/archivers/ArchiveEntryParameters.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-compress/blob/8d714b44/src/main/java/org/apache/commons/compress2/archivers/ArchiveEntryParameters.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/compress2/archivers/ArchiveEntryParameters.java b/src/main/java/org/apache/commons/compress2/archivers/ArchiveEntryParameters.java index fb2c144..fe8c8a6 100644 --- a/src/main/java/org/apache/commons/compress2/archivers/ArchiveEntryParameters.java +++ b/src/main/java/org/apache/commons/compress2/archivers/ArchiveEntryParameters.java @@ -310,7 +310,7 @@ public class ArchiveEntryParameters implements ArchiveEntry { /** * Translates a set of permissons into a Unix stat(2) {@code st_mode} result - * @param permissions the permissions + * @param permissions the permissions. * @param type the file type * @return the "mode" */ @@ -343,6 +343,8 @@ public class ArchiveEntryParameters implements ArchiveEntry { /** * Translates a Unix stat(2) {@code st_mode} compatible value into a set of permissions. + * @param mode the "mode" + * @return set of permissions */ public static Set<PosixFilePermission> permissionsFromMode(long mode) { Set<PosixFilePermission> permissions = EnumSet.noneOf(PosixFilePermission.class);