You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ma...@apache.org on 2011/05/11 17:10:01 UTC
svn commit: r1101914 - in /commons/proper/pool/trunk/src:
changes/changes.xml java/org/apache/commons/pool2/PoolUtils.java
Author: markt
Date: Wed May 11 15:10:01 2011
New Revision: 1101914
URL: http://svn.apache.org/viewvc?rev=1101914&view=rev
Log:
A little more clean-up
Modified:
commons/proper/pool/trunk/src/changes/changes.xml
commons/proper/pool/trunk/src/java/org/apache/commons/pool2/PoolUtils.java
Modified: commons/proper/pool/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/changes/changes.xml?rev=1101914&r1=1101913&r2=1101914&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/changes/changes.xml (original)
+++ commons/proper/pool/trunk/src/changes/changes.xml Wed May 11 15:10:01 2011
@@ -37,8 +37,8 @@
the appropriate getters.
</action>
<action dev="markt" type="update">
- Code clean-up. Add missing @Override annotations and remove deprecated
- code.
+ Code clean-up. Add missing @Override annotations, remove unused code and
+ remove deprecated code.
</action>
</release>
<release version="1.5.6" date="2011-04-03" description="This is a patch release, including bugfixes only.">
Modified: commons/proper/pool/trunk/src/java/org/apache/commons/pool2/PoolUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/java/org/apache/commons/pool2/PoolUtils.java?rev=1101914&r1=1101913&r2=1101914&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/java/org/apache/commons/pool2/PoolUtils.java (original)
+++ commons/proper/pool/trunk/src/java/org/apache/commons/pool2/PoolUtils.java Wed May 11 15:10:01 2011
@@ -1995,15 +1995,6 @@ public final class PoolUtils {
}
/**
- * Updates internal state based on numIdle and the current time.
- *
- * @param numIdle number of idle elements in the pool
- */
- public void update(final int numIdle) {
- update(System.currentTimeMillis(), numIdle);
- }
-
- /**
* Updates internal state using the supplied time and numIdle.
*
* @param now current time