Skip to content

Commit 1dfa536

Browse files
committed
2 parents 549d808 + 403c9b1 commit 1dfa536

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

src/main/java/org/apache/commons/io/file/AccumulatorPathVisitor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public class AccumulatorPathVisitor extends CountingPathVisitor {
6363
/**
6464
* Builds instances of {@link AccumulatorPathVisitor}.
6565
*
66-
* @since 2.18.0
66+
* @since 2.19.0
6767
*/
6868
public static class Builder extends AbstractBuilder<AccumulatorPathVisitor, Builder> {
6969

@@ -85,7 +85,7 @@ public AccumulatorPathVisitor get() {
8585
* Builds instances of {@link AccumulatorPathVisitor}.
8686
*
8787
* @return a new builder.
88-
* @since 2.18.0
88+
* @since 2.19.0
8989
*/
9090
public static Builder builder() {
9191
return new Builder();

src/main/java/org/apache/commons/io/file/CountingPathVisitor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public class CountingPathVisitor extends SimplePathVisitor {
4444
*
4545
* @param <T> The CountingPathVisitor type.
4646
* @param <B> The AbstractBuilder type.
47-
* @since 2.18.0
47+
* @since 2.19.0
4848
*/
4949
public abstract static class AbstractBuilder<T, B extends AbstractBuilder<T, B>> extends SimplePathVisitor.AbstractBuilder<T, B> {
5050

src/main/java/org/apache/commons/io/file/PathUtils.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,6 @@ public static Path copyFile(final URL sourceFile, final Path targetFile, final C
358358
* @throws IOException if an I/O error occurs.
359359
* @see Files#copy(Path, Path, CopyOption...)
360360
*/
361-
@SuppressWarnings("resource") // getFileSystem() is a getter
362361
public static Path copyFileToDirectory(final Path sourceFile, final Path targetDirectory, final CopyOption... copyOptions) throws IOException {
363362
// Path.resolve() naturally won't work across FileSystem unless we convert to a String
364363
final Path sourceFileName = Objects.requireNonNull(sourceFile.getFileName(), "source file name");

src/main/java/org/apache/commons/io/file/SimplePathVisitor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public abstract class SimplePathVisitor extends SimpleFileVisitor<Path> implemen
3838
*
3939
* @param <T> The SimplePathVisitor type.
4040
* @param <B> The builder type.
41-
* @since 2.18.0
41+
* @since 2.19.0
4242
*/
4343
protected abstract static class AbstractBuilder<T, B extends AbstractSupplier<T, B>> extends AbstractSupplier<T, B> {
4444

0 commit comments

Comments
 (0)