File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
src/main/java/org/apache/commons/pool2/impl Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -326,8 +326,7 @@ public T borrowObject(final Duration maxWaitDuration) throws Exception {
326326 }
327327 p = null ;
328328 if (create ) {
329- final NoSuchElementException nsee = new NoSuchElementException (
330- appendStats ("Unable to activate object" ));
329+ final NoSuchElementException nsee = new NoSuchElementException (appendStats ("Unable to activate object" ));
331330 nsee .initCause (e );
332331 throw nsee ;
333332 }
@@ -350,8 +349,7 @@ public T borrowObject(final Duration maxWaitDuration) throws Exception {
350349 }
351350 p = null ;
352351 if (create ) {
353- final NoSuchElementException nsee = new NoSuchElementException (
354- appendStats ("Unable to validate object" ));
352+ final NoSuchElementException nsee = new NoSuchElementException (appendStats ("Unable to validate object" ));
355353 nsee .initCause (validationThrowable );
356354 throw nsee ;
357355 }
You can’t perform that action at this time.
0 commit comments