io.projectreactor
@@ -150,5 +151,20 @@
+
+
+ jdk-16+
+
+ (16,]
+
+
+
+ org.mockito
+ mockito-subclass
+ test
+
+
+
+
diff --git a/cloudfoundry-util/pom.xml b/cloudfoundry-util/pom.xml
index 749f52e746..51b44c1926 100644
--- a/cloudfoundry-util/pom.xml
+++ b/cloudfoundry-util/pom.xml
@@ -128,5 +128,20 @@
+
+
+ jdk-16+
+
+ (16,]
+
+
+
+ org.mockito
+ mockito-subclass
+ test
+
+
+
+
diff --git a/cloudfoundry-util/src/main/java/org/cloudfoundry/util/ByteArrayPool.java b/cloudfoundry-util/src/main/java/org/cloudfoundry/util/ByteArrayPool.java
index 70283d3baf..39446d259e 100644
--- a/cloudfoundry-util/src/main/java/org/cloudfoundry/util/ByteArrayPool.java
+++ b/cloudfoundry-util/src/main/java/org/cloudfoundry/util/ByteArrayPool.java
@@ -29,11 +29,12 @@
import java.util.function.Consumer;
/**
- * Dynamically creates {@link byte} arrays and caches them, reusing them once they have been released.
- *
- * The maximum number of byte arrays is unbounded
- *
- * The default time-to-live for unused byte arrays is one minute
+ * Dynamically creates {@link Byte} arrays and caches them, reusing them once they have been
+ * released.
+ *
+ *
The maximum number of byte arrays is unbounded
+ *
+ *
The default time-to-live for unused byte arrays is one minute
*/
public final class ByteArrayPool {
@@ -69,7 +70,7 @@ private ByteArrayPool(int capacity, Duration ttl) {
/**
* Executes a {@link Consumer} providing a pooled {@code byte} array
*
- * @param consumer the {@link Consumer} of the {@link byte} array
+ * @param consumer the {@link Consumer} of the {@link Byte} array
*/
public static void withByteArray(Consumer consumer) {
INSTANCE.doWithByteArray(consumer);
diff --git a/pom.xml b/pom.xml
index e8bd2cb83a..7f885cae6f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -55,7 +55,6 @@
- 1.8
UTF-8
2.7.17
@@ -74,6 +73,7 @@
3.0.2
2.44.4
+ disabled
@@ -85,7 +85,21 @@
pom
import
-
+