From e93c8014b2926d6732bf1ae53a2771f90477f514 Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Tue, 14 Nov 2023 22:16:29 +0100 Subject: [PATCH] Fix javadoc --- .../org/apache/aries/util/filesystem/impl/ZipDirectory.java | 4 ++-- .../org/apache/aries/util/filesystem/impl/ZipFileImpl.java | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/util/src/main/java/org/apache/aries/util/filesystem/impl/ZipDirectory.java b/util/src/main/java/org/apache/aries/util/filesystem/impl/ZipDirectory.java index a74383cb56..a0bdf9ba75 100644 --- a/util/src/main/java/org/apache/aries/util/filesystem/impl/ZipDirectory.java +++ b/util/src/main/java/org/apache/aries/util/filesystem/impl/ZipDirectory.java @@ -60,7 +60,6 @@ public ZipDirectory(File zip1, ZipEntry entry1, ZipDirectory parent, ZipCloseabl /** * This constructor creates the root of the zip. - * @param file * @param fs * @param parent * @throws MalformedURLException @@ -174,8 +173,9 @@ private List listFiles(boolean includeFilesInNestedSubdirs) * This method works out if the provided entry is inside this directory. It * returns false if it is not, or if it is in a sub-directory. * + * @param parentDir * @param possibleEntry - * @param whether files in subdirectories are to be included + * @param allowSubDirs * @return true if it is in this directory. */ protected static boolean isInDir(String parentDir, ZipEntry possibleEntry, boolean allowSubDirs) diff --git a/util/src/main/java/org/apache/aries/util/filesystem/impl/ZipFileImpl.java b/util/src/main/java/org/apache/aries/util/filesystem/impl/ZipFileImpl.java index 9ebbee4d35..a0ebef5b4c 100644 --- a/util/src/main/java/org/apache/aries/util/filesystem/impl/ZipFileImpl.java +++ b/util/src/main/java/org/apache/aries/util/filesystem/impl/ZipFileImpl.java @@ -87,8 +87,7 @@ public ZipFileImpl(File zip1, ZipEntry entry1, ZipDirectory parent1, ZipCloseabl * This is called to construct the root directory of the zip. * * @param zip1 the zip file this represents. - * @param fs the file on the fs. - * @param rootName the name of this zipfile relative to the IFile filesystem root + * @param parent * @throws MalformedURLException */ protected ZipFileImpl(File zip1, IDirectory parent) throws MalformedURLException