commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1053591 - in /commons/proper/pool/trunk/src: java/org/apache/commons/pool2/ java/org/apache/commons/pool2/impl/ java/org/apache/commons/pool2/ref/ test/org/apache/commons/pool2/ test/org/apache/commons/pool2/impl/ test/org/apache/commons/p...
Date Wed, 29 Dec 2010 10:01:12 GMT
Author: simonetripodi
Date: Wed Dec 29 10:01:11 2010
New Revision: 1053591

URL: http://svn.apache.org/viewvc?rev=1053591&view=rev
Log:
moved SoftReferenceObjectPool and related MBean interface in a proper 'ref' package

Added:
    commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/
    commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/SoftReferenceObjectPool.java
      - copied, changed from r1051828, commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/SoftReferenceObjectPool.java
    commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/SoftReferenceObjectPoolMBean.java
      - copied, changed from r1051828, commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/SoftReferenceObjectPoolMBean.java
    commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/package.html   (with props)
    commons/proper/pool/trunk/src/test/org/apache/commons/pool2/ref/
    commons/proper/pool/trunk/src/test/org/apache/commons/pool2/ref/TestSoftRefOutOfMemory.java
      - copied, changed from r1051386, commons/proper/pool/trunk/src/test/org/apache/commons/pool2/impl/TestSoftRefOutOfMemory.java
    commons/proper/pool/trunk/src/test/org/apache/commons/pool2/ref/TestSoftReferenceObjectPool.java
      - copied, changed from r1051386, commons/proper/pool/trunk/src/test/org/apache/commons/pool2/impl/TestSoftReferenceObjectPool.java
Removed:
    commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/SoftReferenceObjectPool.java
    commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/SoftReferenceObjectPoolMBean.java
    commons/proper/pool/trunk/src/test/org/apache/commons/pool2/impl/TestSoftRefOutOfMemory.java
    commons/proper/pool/trunk/src/test/org/apache/commons/pool2/impl/TestSoftReferenceObjectPool.java
Modified:
    commons/proper/pool/trunk/src/java/org/apache/commons/pool2/   (props changed)
    commons/proper/pool/trunk/src/test/org/apache/commons/pool2/TestObjectPool.java

Propchange: commons/proper/pool/trunk/src/java/org/apache/commons/pool2/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Wed Dec 29 10:01:11 2010
@@ -0,0 +1 @@
+reference

Copied: commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/SoftReferenceObjectPool.java
(from r1051828, commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/SoftReferenceObjectPool.java)
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/SoftReferenceObjectPool.java?p2=commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/SoftReferenceObjectPool.java&p1=commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/SoftReferenceObjectPool.java&r1=1051828&r2=1053591&rev=1053591&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/SoftReferenceObjectPool.java
(original)
+++ commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/SoftReferenceObjectPool.java
Wed Dec 29 10:01:11 2010
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 
-package org.apache.commons.pool2.impl;
+package org.apache.commons.pool2.ref;
 
 import java.lang.ref.Reference;
 import java.lang.ref.ReferenceQueue;

Copied: commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/SoftReferenceObjectPoolMBean.java
(from r1051828, commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/SoftReferenceObjectPoolMBean.java)
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/SoftReferenceObjectPoolMBean.java?p2=commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/SoftReferenceObjectPoolMBean.java&p1=commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/SoftReferenceObjectPoolMBean.java&r1=1051828&r2=1053591&rev=1053591&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/SoftReferenceObjectPoolMBean.java
(original)
+++ commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/SoftReferenceObjectPoolMBean.java
Wed Dec 29 10:01:11 2010
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.commons.pool2.impl;
+package org.apache.commons.pool2.ref;
 
 /**
  * The <code>SoftReference</code>-based <code>ObjectPool</code> JMX
interface.

Added: commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/package.html
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/package.html?rev=1053591&view=auto
==============================================================================
--- commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/package.html (added)
+++ commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/package.html Wed Dec 29
10:01:11 2010
@@ -0,0 +1,34 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- $Id$ -->
+<html>
+   <head>
+      <title>Package Documentation for org.apache.commons.pool2.ref</title>
+   </head>
+   <body>
+      <p>
+         Object pooling API implementations.
+      </p>
+      <p>
+         {@link org.apache.commons.pool2.ref.SoftReferenceObjectPool SoftReferenceObjectPool}
+         provides an implementation of {@link org.apache.commons.pool2.ObjectPool ObjectPool}.
+      </p>
+      <p>
+         See also the {@link org.apache.commons.pool} package.
+      </p>
+   </body>
+</html>

Propchange: commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/package.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/package.html
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ref/package.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Modified: commons/proper/pool/trunk/src/test/org/apache/commons/pool2/TestObjectPool.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/test/org/apache/commons/pool2/TestObjectPool.java?rev=1053591&r1=1053590&r2=1053591&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/test/org/apache/commons/pool2/TestObjectPool.java (original)
+++ commons/proper/pool/trunk/src/test/org/apache/commons/pool2/TestObjectPool.java Wed Dec
29 10:01:11 2010
@@ -28,7 +28,7 @@ import java.util.NoSuchElementException;
 import junit.framework.TestCase;
 
 import org.apache.commons.pool2.impl.GenericObjectPool;
-import org.apache.commons.pool2.impl.SoftReferenceObjectPool;
+import org.apache.commons.pool2.ref.SoftReferenceObjectPool;
 import org.junit.Test;
 
 /**

Copied: commons/proper/pool/trunk/src/test/org/apache/commons/pool2/ref/TestSoftRefOutOfMemory.java
(from r1051386, commons/proper/pool/trunk/src/test/org/apache/commons/pool2/impl/TestSoftRefOutOfMemory.java)
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/test/org/apache/commons/pool2/ref/TestSoftRefOutOfMemory.java?p2=commons/proper/pool/trunk/src/test/org/apache/commons/pool2/ref/TestSoftRefOutOfMemory.java&p1=commons/proper/pool/trunk/src/test/org/apache/commons/pool2/impl/TestSoftRefOutOfMemory.java&r1=1051386&r2=1053591&rev=1053591&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/test/org/apache/commons/pool2/impl/TestSoftRefOutOfMemory.java
(original)
+++ commons/proper/pool/trunk/src/test/org/apache/commons/pool2/ref/TestSoftRefOutOfMemory.java
Wed Dec 29 10:01:11 2010
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 
-package org.apache.commons.pool2.impl;
+package org.apache.commons.pool2.ref;
 
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertTrue;
@@ -27,7 +27,7 @@ import java.util.List;
 
 import org.apache.commons.pool2.BasePoolableObjectFactory;
 import org.apache.commons.pool2.PoolableObjectFactory;
-import org.apache.commons.pool2.impl.SoftReferenceObjectPool;
+import org.apache.commons.pool2.ref.SoftReferenceObjectPool;
 import org.junit.After;
 import org.junit.Test;
 

Copied: commons/proper/pool/trunk/src/test/org/apache/commons/pool2/ref/TestSoftReferenceObjectPool.java
(from r1051386, commons/proper/pool/trunk/src/test/org/apache/commons/pool2/impl/TestSoftReferenceObjectPool.java)
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/test/org/apache/commons/pool2/ref/TestSoftReferenceObjectPool.java?p2=commons/proper/pool/trunk/src/test/org/apache/commons/pool2/ref/TestSoftReferenceObjectPool.java&p1=commons/proper/pool/trunk/src/test/org/apache/commons/pool2/impl/TestSoftReferenceObjectPool.java&r1=1051386&r2=1053591&rev=1053591&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/test/org/apache/commons/pool2/impl/TestSoftReferenceObjectPool.java
(original)
+++ commons/proper/pool/trunk/src/test/org/apache/commons/pool2/ref/TestSoftReferenceObjectPool.java
Wed Dec 29 10:01:11 2010
@@ -15,12 +15,12 @@
  * limitations under the License.
  */
 
-package org.apache.commons.pool2.impl;
+package org.apache.commons.pool2.ref;
 
 import org.apache.commons.pool2.ObjectPool;
 import org.apache.commons.pool2.PoolableObjectFactory;
 import org.apache.commons.pool2.TestBaseObjectPool;
-import org.apache.commons.pool2.impl.SoftReferenceObjectPool;
+import org.apache.commons.pool2.ref.SoftReferenceObjectPool;
 
 /**
  * @author Rodney Waldhoff



Mime
View raw message