Add passing tests:
AccumulatorPathVisitorTest.testFolderWhileDeleting*
MODIFY
src/changes/changes.xml
src/changes/changes.xml
@@ -383,6 +383,9 @@ The <action> type attribute can be add,update,fix,remove.
Add FileUtils.isFileOlder(File, ChronoLocalDate, OffsetTime).
Add FileUtils.isFileOlder(File, OffsetDateTime).
</action>
+ <action dev="ggregory" type="add" due-to="Gary Gregory">
+ Add IOBiConsumer.noop().
+ </action>
<!-- UPDATE -->
<action dev="kinow" type="update" due-to="Dependabot, Gary Gregory">
Bump actions/cache from 2.1.6 to 3.0.4 #307, #337.

MODIFY
src/main/java/org/apache/commons/io/function/IOBiConsumer.java
src/main/java/org/apache/commons/io/function/IOBiConsumer.java
@FunctionalInterface
public interface IOBiConsumer<T, U> {
+ /**
+ * NOOP singleton.
+ * @since 2.12.0
+ */
+ @SuppressWarnings("rawtypes")
+ IOBiConsumer NOOP = (t, u) -> {/* NOOP */};
+
+ /**
+ * Returns The NOOP singleton.
+ *
+ * @param <T> the type of the first argument to the operation
+ * @param <U> the type of the second argument to the operation
+ * @return The NOOP singleton.
+ * @since 2.12.0
+ */
+ static <T, U> IOBiConsumer<T, U> noop() {
+ return NOOP;
+ }
+
/**
* Performs this operation on the given arguments.
*

MODIFY
src/test/java/org/apache/commons/io/function/IOBiConsumerTest.java
src/test/java/org/apache/commons/io/function/IOBiConsumerTest.java
@@ -45,4 +45,11 @@ public void testAndThen() throws IOException {
biConsumer1.andThen(biConsumer2).accept("B", 2);
assertEquals("B22B", ref.get());
}
+
+ @Test
+ public void testNoopIOConsumer() throws IOException {
+ IOBiConsumer.noop().accept(null, null);
+ IOBiConsumer.NOOP.accept(null, null);
+ }
+
}

[IO-755] Add passing tests:
AccumulatorPathVisitorTest.testFolderWhileDeleting*