commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1084244 - in /commons/proper/pool/trunk/src/java/org/apache/commons/pool2: impl/ ref/
Date Tue, 22 Mar 2011 16:38:21 GMT
Author: markt
Date: Tue Mar 22 16:38:21 2011
New Revision: 1084244

URL: http://svn.apache.org/viewvc?rev=1084244&view=rev
Log:
Fix some Eclipse warnings

Modified:
    commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java
    commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/GenericObjectPool.java
    commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/AbstractReferenceObjectPool.java
    commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/PhantomReferenceObjectPool.java
    commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/SoftReferenceObjectPool.java
    commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/WeakReferenceObjectPool.java

Modified: commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java?rev=1084244&r1=1084243&r2=1084244&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java
(original)
+++ commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java
Tue Mar 22 16:38:21 2011
@@ -30,7 +30,6 @@ import java.util.TimerTask;
 import java.util.TreeMap;
 
 import org.apache.commons.pool2.BaseKeyedObjectPool;
-import org.apache.commons.pool2.KeyedObjectPool;
 import org.apache.commons.pool2.KeyedPoolableObjectFactory;
 import org.apache.commons.pool2.PoolUtils;
 
@@ -199,7 +198,7 @@ import org.apache.commons.pool2.PoolUtil
  * @version $Revision$ $Date$
  * @since Pool 1.0
  */
-public class GenericKeyedObjectPool<K,V> extends BaseKeyedObjectPool<K,V> implements
KeyedObjectPool<K,V>, GenericKeyedObjectPoolMBean<K> {
+public class GenericKeyedObjectPool<K,V> extends BaseKeyedObjectPool<K,V> implements
GenericKeyedObjectPoolMBean<K> {
 
     //--- constructors -----------------------------------------------
 

Modified: commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/GenericObjectPool.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/GenericObjectPool.java?rev=1084244&r1=1084243&r2=1084244&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/GenericObjectPool.java
(original)
+++ commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/GenericObjectPool.java
Tue Mar 22 16:38:21 2011
@@ -185,7 +185,7 @@ import org.apache.commons.pool2.impl.Gen
  * @version $Revision$ $Date$
  * @since Pool 1.0
  */
-public class GenericObjectPool<T> extends BaseObjectPool<T> implements ObjectPool<T>,
GenericObjectPoolMBean<T> {
+public class GenericObjectPool<T> extends BaseObjectPool<T> implements GenericObjectPoolMBean<T>
{
 
     //--- constructors -----------------------------------------------
 

Modified: commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/AbstractReferenceObjectPool.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/AbstractReferenceObjectPool.java?rev=1084244&r1=1084243&r2=1084244&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/AbstractReferenceObjectPool.java
(original)
+++ commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/AbstractReferenceObjectPool.java
Tue Mar 22 16:38:21 2011
@@ -34,7 +34,7 @@ import org.apache.commons.pool2.ref.Soft
  *
  * @version $Revision$ $Date$
  */
-abstract class AbstractReferenceObjectPool<T, R extends Reference<T>> extends
BaseObjectPool<T> implements ObjectPool<T>, SoftReferenceObjectPoolMBean {
+abstract class AbstractReferenceObjectPool<T, R extends Reference<T>> extends
BaseObjectPool<T> implements SoftReferenceObjectPoolMBean {
 
     /**
      * Create a <code>SoftReferenceObjectPool</code> with the specified factory.

Modified: commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/PhantomReferenceObjectPool.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/PhantomReferenceObjectPool.java?rev=1084244&r1=1084243&r2=1084244&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/PhantomReferenceObjectPool.java
(original)
+++ commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/PhantomReferenceObjectPool.java
Tue Mar 22 16:38:21 2011
@@ -44,6 +44,7 @@ public final class PhantomReferenceObjec
     /**
      * {@inheritDoc}
      */
+    @Override
     protected PhantomReference<T> createReference(T referent, ReferenceQueue<? super
T> referenceQueue) {
         return new PhantomReference<T>(referent, referenceQueue);
     }

Modified: commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/SoftReferenceObjectPool.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/SoftReferenceObjectPool.java?rev=1084244&r1=1084243&r2=1084244&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/SoftReferenceObjectPool.java
(original)
+++ commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/SoftReferenceObjectPool.java
Tue Mar 22 16:38:21 2011
@@ -32,7 +32,7 @@ import org.apache.commons.pool2.Poolable
  * @version $Revision$ $Date$
  * @since Pool 1.0
  */
-public class SoftReferenceObjectPool<T> extends AbstractReferenceObjectPool<T, SoftReference<T>>
implements SoftReferenceObjectPoolMBean {
+public class SoftReferenceObjectPool<T> extends AbstractReferenceObjectPool<T, SoftReference<T>>
{
 
     /**
      * Create a <code>SoftReferenceObjectPool</code> with the specified factory.
@@ -47,6 +47,7 @@ public class SoftReferenceObjectPool<T> 
     /**
      * {@inheritDoc}
      */
+    @Override
     protected SoftReference<T> createReference(T referent, ReferenceQueue<? super
T> referenceQueue) {
         return new SoftReference<T>(referent, referenceQueue);
     }

Modified: commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/WeakReferenceObjectPool.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/WeakReferenceObjectPool.java?rev=1084244&r1=1084243&r2=1084244&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/WeakReferenceObjectPool.java
(original)
+++ commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/WeakReferenceObjectPool.java
Tue Mar 22 16:38:21 2011
@@ -44,6 +44,7 @@ public final class WeakReferenceObjectPo
     /**
      * {@inheritDoc}
      */
+    @Override
     protected WeakReference<T> createReference(T referent, ReferenceQueue<? super
T> referenceQueue) {
         return new WeakReference<T>(referent, referenceQueue);
     }



Mime
View raw message