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 2023/01/26 15:52:43 UTC

[commons-pool] branch master updated: Fix checkstyle

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-pool.git


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

commit 17a9c1e1529b1458ff9dda1b400ffe5362ddfcb5
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Jan 26 10:52:39 2023 -0500

    Fix checkstyle
---
 .../java/org/apache/commons/pool2/BaseKeyedPooledObjectFactory.java    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/pool2/BaseKeyedPooledObjectFactory.java b/src/main/java/org/apache/commons/pool2/BaseKeyedPooledObjectFactory.java
index 50b24082..7c65822a 100644
--- a/src/main/java/org/apache/commons/pool2/BaseKeyedPooledObjectFactory.java
+++ b/src/main/java/org/apache/commons/pool2/BaseKeyedPooledObjectFactory.java
@@ -78,7 +78,8 @@ public abstract class BaseKeyedPooledObjectFactory<K, V, E extends Exception> ex
 
     @Override
     public PooledObject<V> makeObject(final K key) throws E {
-        return wrap(Objects.requireNonNull(create(key), () -> String.format("BaseKeyedPooledObjectFactory(%s).create(key=%s) = null", getClass().getName(), key)));
+        return wrap(
+                Objects.requireNonNull(create(key), () -> String.format("BaseKeyedPooledObjectFactory(%s).create(key=%s) = null", getClass().getName(), key)));
     }
 
     /**