portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r472371 - /portals/jetspeed-2/trunk/components/capability/src/test/org/apache/jetspeed/capabilities/TestCapability.java
Date Wed, 08 Nov 2006 03:10:42 GMT
Author: taylor
Date: Tue Nov  7 19:10:41 2006
New Revision: 472371

URL: http://svn.apache.org/viewvc?view=rev&rev=472371
Log:
arraylist

Modified:
    portals/jetspeed-2/trunk/components/capability/src/test/org/apache/jetspeed/capabilities/TestCapability.java

Modified: portals/jetspeed-2/trunk/components/capability/src/test/org/apache/jetspeed/capabilities/TestCapability.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/capability/src/test/org/apache/jetspeed/capabilities/TestCapability.java?view=diff&rev=472371&r1=472370&r2=472371
==============================================================================
--- portals/jetspeed-2/trunk/components/capability/src/test/org/apache/jetspeed/capabilities/TestCapability.java
(original)
+++ portals/jetspeed-2/trunk/components/capability/src/test/org/apache/jetspeed/capabilities/TestCapability.java
Tue Nov  7 19:10:41 2006
@@ -16,7 +16,7 @@
 
 package org.apache.jetspeed.capabilities;
 
-import java.util.Collection;
+import java.util.ArrayList;
 import java.util.HashMap;
 import java.util.Iterator;
 import java.util.Set;
@@ -26,7 +26,6 @@
 
 import org.apache.jetspeed.components.util.DatasourceEnabledSpringTestCase;
 
-import tyrex.util.ArraySet;
 
 /**
  * Test Capability Service
@@ -391,7 +390,7 @@
         // setting links:
         
         
-        ArraySet set = new ArraySet(someCapabilities.values());
+        ArrayList set = new ArrayList(someCapabilities.values());
         mediaType.setCapabilities(set);
         assertTrue("number of Capabilities added (" + set.size() + ") not the same as expected
("+numCapabilities+")",(set.size()==numCapabilities));
         
@@ -477,11 +476,11 @@
         client.setManufacturer(manufacturer);
         client.setModel(model);
 
-        ArraySet set = new ArraySet(someCapabilities.values());
+        ArrayList set = new ArrayList(someCapabilities.values());
         client.setCapabilities(set);
         assertTrue("number of Capabilities added (" + set.size() + ") not the same as expected
("+numCapabilities+")",(set.size()==numCapabilities));
         
-        set = new ArraySet(someMimeTypes.values());
+        set = new ArrayList(someMimeTypes.values());
         client.setCapabilities(set);
         assertTrue("number of MimeTypes added (" + set.size() + ") not the same as expected
("+numCapabilities+")",(set.size()==numMimeTypes));
 



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message