Author: tn
Date: Fri Aug 17 19:13:50 2012
New Revision: 1374401

URL: http://svn.apache.org/viewvc?rev=1374401&view=rev
Log:
Moved IndexedCollection to collection package. Only interfaces and utilities 
shall reside in the top-level package.

Added:
    
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/collection/IndexedCollection.java
      - copied, changed from r1371952, 
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/IndexedCollection.java
    
commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/collection/IndexedCollectionTest.java
      - copied, changed from r1361641, 
commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/TestIndexedCollection.java
Removed:
    
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/IndexedCollection.java
    
commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/TestIndexedCollection.java

Copied: 
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/collection/IndexedCollection.java
 (from r1371952, 
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/IndexedCollection.java)
URL: 
http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/collection/IndexedCollection.java?p2=commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/collection/IndexedCollection.java&p1=commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/IndexedCollection.java&r1=1371952&r2=1374401&rev=1374401&view=diff
==============================================================================
--- 
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/IndexedCollection.java
 (original)
+++ 
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/collection/IndexedCollection.java
 Fri Aug 17 19:13:50 2012
@@ -14,12 +14,12 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.commons.collections;
+package org.apache.commons.collections.collection;
 
 import java.util.Collection;
 import java.util.HashMap;
 
-import org.apache.commons.collections.collection.AbstractCollectionDecorator;
+import org.apache.commons.collections.Transformer;
 
 /**
  * An IndexedCollection is a Map-like view onto a Collection. It accepts a

Copied: 
commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/collection/IndexedCollectionTest.java
 (from r1361641, 
commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/TestIndexedCollection.java)
URL: 
http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/collection/IndexedCollectionTest.java?p2=commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/collection/IndexedCollectionTest.java&p1=commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/TestIndexedCollection.java&r1=1361641&r2=1374401&rev=1374401&view=diff
==============================================================================
--- 
commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/TestIndexedCollection.java
 (original)
+++ 
commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/collection/IndexedCollectionTest.java
 Fri Aug 17 19:13:50 2012
@@ -14,17 +14,20 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.commons.collections;
+package org.apache.commons.collections.collection;
 
 import static java.util.Arrays.asList;
 import static junit.framework.Assert.assertEquals;
 import static junit.framework.Assert.assertNull;
 
+import org.apache.commons.collections.AbstractDecoratedCollectionTest;
+import org.apache.commons.collections.Transformer;
+import org.apache.commons.collections.collection.IndexedCollection;
 import org.junit.Before;
 import org.junit.Test;
 
 @SuppressWarnings("boxing")
-public class TestIndexedCollection extends 
AbstractDecoratedCollectionTest<String> {
+public class IndexedCollectionTest extends 
AbstractDecoratedCollectionTest<String> {
     private IndexedCollection<Integer, String> indexed;
 
     @Before


Reply via email to