@@ -78,6 +78,7 @@ private CompressedDirectory(Path file) {
7878
7979 /**
8080 * The file for the created compressed directory archive.
81+ *
8182 * @return a Path object representing the compressed directory
8283 */
8384 public Path file () {
@@ -87,8 +88,8 @@ public Path file() {
8788 /**
8889 * This method creates a gzip tarball of the specified directory. File permissions will be
8990 * retained. The file will be created in a temporary directory using the {@link
90- * Files#createTempFile(String, String, java.nio.file.attribute.FileAttribute[])} method.
91- * The returned object is auto-closeable, and upon closing it, the archive file will be deleted.
91+ * Files#createTempFile(String, String, java.nio.file.attribute.FileAttribute[])} method. The
92+ * returned object is auto-closeable, and upon closing it, the archive file will be deleted.
9293 *
9394 * @param directory the directory to compress
9495 * @return a Path object representing the compressed directory
@@ -280,8 +281,9 @@ public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IO
280281
281282 /**
282283 * Checks if any of the given {@link DockerIgnorePathMatcher} matches the given {@code path}
284+ *
283285 * @param matchers the {@link DockerIgnorePathMatcher} to use
284- * @param path the path to match
286+ * @param path the path to match
285287 * @return <code>true</code> if the given path should be excluded, <code>false</code> otherwise
286288 */
287289 private static boolean exclude (ImmutableList <DockerIgnorePathMatcher > matchers , Path path ) {
@@ -347,11 +349,10 @@ private static int getModeFromPermissions(boolean read, boolean write, boolean e
347349 }
348350
349351 }
350-
352+
351353 /**
352354 * A decorator for the {@link PathMatcher} with a type to determine if it is an exclusion pattern
353- * or an exclude to an aforementioned exclusion. See
354- * https://docs.docker.com/engine/reference/builder/#dockerignore-file
355+ * or an exclude to an aforementioned exclusion. See https://docs.docker.com/engine/reference/builder/#dockerignore-file
355356 */
356357 private static class DockerIgnorePathMatcher implements PathMatcher {
357358
@@ -363,11 +364,11 @@ private static class DockerIgnorePathMatcher implements PathMatcher {
363364
364365 /**
365366 * Constructor.
366- *
367+ *
367368 * @param fileSystem the current {@link FileSystem}
368- * @param pattern the exclusion or inclusion pattern
369- * @param exclude flag to indicate if the given {@code pattern } is an exclusion (
370- * <code>true</code>) or if it is an inclusion (<code>false</code>).
369+ * @param pattern the exclusion or inclusion pattern
370+ * @param exclude flag to indicate if the given {@code pattern } is an exclusion (
371+ * <code>true</code>) or if it is an inclusion (<code>false</code>).
371372 */
372373 public DockerIgnorePathMatcher (final FileSystem fileSystem , final String pattern ,
373374 final boolean exclude ) {
@@ -382,7 +383,7 @@ public DockerIgnorePathMatcher(final FileSystem fileSystem, final String pattern
382383
383384 /**
384385 * @return <code>true</code> if the given {@code pattern} is an exclusion, <code>false</code> if
385- * it is an exclude to an exclusion.
386+ * it is an exclude to an exclusion.
386387 */
387388 public boolean isExclude () {
388389 return this .exclude ;
@@ -391,8 +392,7 @@ public boolean isExclude() {
391392 /**
392393 * @param path the path to match
393394 * @return <code>true</code> if the given {@code path} starts with the pattern or matches the
394- * pattern
395- *
395+ * pattern
396396 * @see Path#startsWith(String)
397397 * @see PathMatcher#matches(Path)
398398 */
0 commit comments