You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by we...@apache.org on 2003/10/17 22:19:38 UTC

cvs commit: jakarta-jetspeed-2/portal/src/test/org/apache/jetspeed/services/registry TestRegistry.java

weaver      2003/10/17 13:19:38

  Modified:    portal/src/test/org/apache/jetspeed/services/registry
                        TestRegistry.java
  Log:
  Changes due to change in Preferences
  
  Revision  Changes    Path
  1.5       +2 -4      jakarta-jetspeed-2/portal/src/test/org/apache/jetspeed/services/registry/TestRegistry.java
  
  Index: TestRegistry.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/test/org/apache/jetspeed/services/registry/TestRegistry.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- TestRegistry.java	7 Oct 2003 21:38:17 -0000	1.4
  +++ TestRegistry.java	17 Oct 2003 20:19:37 -0000	1.5
  @@ -53,7 +53,6 @@
    */
   package org.apache.jetspeed.services.registry;
   
  -import java.util.Arrays;
   import java.util.Collection;
   import java.util.Iterator;
   import java.util.Locale;
  @@ -62,7 +61,6 @@
   
   import junit.framework.AssertionFailedError;
   import junit.framework.Test;
  -
   import junit.framework.TestSuite;
   
   import org.apache.commons.configuration.Configuration;
  @@ -244,7 +242,7 @@
           pdc.addContentType(wml);
   
           PreferenceComposite pref =
  -            pdc.addPreference("preference 1", Arrays.asList(new String[] { "pref 1 values 1", "pref 1 value 2" }));
  +            pdc.addPreference("preference 1", new String[] { "pref 1 values 1", "pref 1 value 2" });
   
           pref.addDescription(Jetspeed.getDefaultLocale(), "Preference 1 description");
   
  
  
  

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