You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2019/10/10 21:27:41 UTC

[commons-io] branch master updated: Fix checkstyle issues.

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git


The following commit(s) were added to refs/heads/master by this push:
     new dbd0142  Fix checkstyle issues.
dbd0142 is described below

commit dbd01426cdc0151a9db1e3181b487738ae8628e4
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Oct 10 17:27:37 2019 -0400

    Fix checkstyle issues.
---
 .../commons/io/file/DeletingFileVisitor.java       |  6 ++++++
 .../java/org/apache/commons/io/file/package.html   | 22 ++++++++++++++++++++++
 2 files changed, 28 insertions(+)

diff --git a/src/main/java/org/apache/commons/io/file/DeletingFileVisitor.java b/src/main/java/org/apache/commons/io/file/DeletingFileVisitor.java
index ed5d5e1..0c4edf3 100644
--- a/src/main/java/org/apache/commons/io/file/DeletingFileVisitor.java
+++ b/src/main/java/org/apache/commons/io/file/DeletingFileVisitor.java
@@ -47,6 +47,12 @@ public class DeletingFileVisitor extends CountingFileVisitor {
         this.skip = temp;
     }
 
+    /**
+     * Returns true to process the given path, false if not.
+     * 
+     * @param path the path to test.
+     * @return true to process the given path, false if not.
+     */
     private boolean accept(final Path path) {
         return Arrays.binarySearch(skip, path.getFileName().toString()) < 0;
     }
diff --git a/src/main/java/org/apache/commons/io/file/package.html b/src/main/java/org/apache/commons/io/file/package.html
new file mode 100644
index 0000000..57071b2
--- /dev/null
+++ b/src/main/java/org/apache/commons/io/file/package.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<html>
+<body>
+	<p>This package provides extensions in the realm of java.nio.file.</p>
+</body>
+</html>