This is an automated email from the ASF dual-hosted git repository. tv pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/turbine-fulcrum-pool.git
commit aae3e91c7974f0262726219168dc5732e3f1f748 Author: Thomas Vandahl <[email protected]> AuthorDate: Mon Jan 12 20:28:24 2026 +0100 Remove $Id$ from svn times --- .../org/apache/fulcrum/pool/ArrayCtorRecyclable.java | 3 +-- src/java/org/apache/fulcrum/pool/PoolException.java | 11 +++++------ src/java/org/apache/fulcrum/pool/PoolService.java | 3 +-- src/java/org/apache/fulcrum/pool/Recyclable.java | 7 +++---- src/java/org/apache/fulcrum/pool/Recycler.java | 19 +++++++++++-------- 5 files changed, 21 insertions(+), 22 deletions(-) diff --git a/src/java/org/apache/fulcrum/pool/ArrayCtorRecyclable.java b/src/java/org/apache/fulcrum/pool/ArrayCtorRecyclable.java index 68dbae3..9529656 100644 --- a/src/java/org/apache/fulcrum/pool/ArrayCtorRecyclable.java +++ b/src/java/org/apache/fulcrum/pool/ArrayCtorRecyclable.java @@ -27,7 +27,6 @@ package org.apache.fulcrum.pool; * presents a recycle method that does not require introspection/reflection. * * @author <a href="mailto:[email protected]">John McNally</a> - * @version $Id$ */ public interface ArrayCtorRecyclable extends Recyclable { @@ -35,7 +34,7 @@ public interface ArrayCtorRecyclable extends Recyclable * Recycles the object for a new client. Objects implementing * this interface must also provide a matching constructor. * The recycle methods must call their super. - * + * * @param params the parameters to recycle */ public void recycle(Object[] params); diff --git a/src/java/org/apache/fulcrum/pool/PoolException.java b/src/java/org/apache/fulcrum/pool/PoolException.java index 3456641..e8a58c2 100644 --- a/src/java/org/apache/fulcrum/pool/PoolException.java +++ b/src/java/org/apache/fulcrum/pool/PoolException.java @@ -23,27 +23,26 @@ package org.apache.fulcrum.pool; * Exception thrown when there is a problem with the PoolException * * @author <a href="mailto:[email protected]">Eric Pugh</a> - * @version $Id$ */ -public class PoolException extends Exception +public class PoolException extends Exception { - + /** * Serial number */ private static final long serialVersionUID = 8192045560423973532L; - public PoolException(String msg) + public PoolException(String msg) { super(msg); } - public PoolException(Exception ex) + public PoolException(Exception ex) { super(ex); } - public PoolException(String msg, Exception ex) + public PoolException(String msg, Exception ex) { super(msg, ex); } diff --git a/src/java/org/apache/fulcrum/pool/PoolService.java b/src/java/org/apache/fulcrum/pool/PoolService.java index a61b298..9e617e1 100644 --- a/src/java/org/apache/fulcrum/pool/PoolService.java +++ b/src/java/org/apache/fulcrum/pool/PoolService.java @@ -34,9 +34,8 @@ package org.apache.fulcrum.pool; * * @author <a href="mailto:[email protected]">Ilkka Priha</a> * @author <a href="mailto:[email protected]">Stephen McConnell</a> - * @version $Id$ */ -public interface PoolService +public interface PoolService { /** Avalon role - used to id the component within the manager */ String ROLE = PoolService.class.getName(); diff --git a/src/java/org/apache/fulcrum/pool/Recyclable.java b/src/java/org/apache/fulcrum/pool/Recyclable.java index d400c8d..98c377a 100644 --- a/src/java/org/apache/fulcrum/pool/Recyclable.java +++ b/src/java/org/apache/fulcrum/pool/Recyclable.java @@ -24,11 +24,10 @@ package org.apache.fulcrum.pool; * different clients. * * @author <a href="mailto:[email protected]">Ilkka Priha</a> - * @version $Id$ */ -public interface Recyclable +public interface Recyclable { - + /** * Recycles the object for a new client. Recycle methods with parameters must be * added to implementing object and they will be automatically called by pool @@ -47,7 +46,7 @@ public interface Recyclable /** * Checks whether the recyclable has been disposed. - * + * * @return true, if the recyclable is disposed. */ public boolean isDisposed(); diff --git a/src/java/org/apache/fulcrum/pool/Recycler.java b/src/java/org/apache/fulcrum/pool/Recycler.java index 9ead245..81809dd 100644 --- a/src/java/org/apache/fulcrum/pool/Recycler.java +++ b/src/java/org/apache/fulcrum/pool/Recycler.java @@ -31,12 +31,12 @@ public class Recycler * The method. */ private final Method recycle; - + /** * The signature. */ private final String[] signature; - + /** * Constructs a new recycler. * @@ -48,7 +48,7 @@ public class Recycler recycle = rec; signature = sign != null && sign.length > 0 ? sign : null; } - + /** * Matches the given signature against * that of the recycle method of this recycler. @@ -61,13 +61,16 @@ public class Recycler if ( signature == null ) { return recycle; - } else { - - // test if there is a match - if ( !Arrays.equals(sign, signature) ) + } + else + { + // test if there is a match + if ( !Arrays.equals(sign, signature) ) { return null; - } else { + } + else + { return recycle; } }
