portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pau...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/portlets PsmlBrowseAction.java
Date Mon, 12 Aug 2002 01:52:58 GMT
paulsp      2002/08/11 18:52:58

  Modified:    src/java/org/apache/jetspeed/modules/actions/portlets
                        PsmlBrowseAction.java
  Log:
  PsmlBrowser now displays PSMLs
  Submitted by:	Mark C. Orciuch
  
  Revision  Changes    Path
  1.5       +4 -4      jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/portlets/PsmlBrowseAction.java
  
  Index: PsmlBrowseAction.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/portlets/PsmlBrowseAction.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- PsmlBrowseAction.java	3 Jul 2002 21:31:11 -0000	1.4
  +++ PsmlBrowseAction.java	12 Aug 2002 01:52:58 -0000	1.5
  @@ -80,7 +80,7 @@
   import org.apache.velocity.context.Context;
   
   //Java
  -import java.util.Vector;
  +import java.util.ArrayList;
   import java.util.Iterator;
   
   /**
  @@ -151,7 +151,7 @@
           {
               int index = 0;
               Iterator i = Profiler.query(new QueryLocator(QueryLocator.QUERY_ALL));
  -            Vector entries = new Vector();
  +            ArrayList entries = new ArrayList();
               while(i.hasNext())
               {
                   Profile profile = (Profile)i.next();
  @@ -159,7 +159,7 @@
                   entries.add(profile);
                   index ++;
               }
  -            Vector entryType = new Vector();
  +            ArrayList entryType = new ArrayList();
               entryType.add("Profile");
               windowIterator = new DatabaseBrowserIterator(entries, entryType, entryType,
size);
               PortletSessionState.setAttribute(portlet, rundata, PROFILE_ITERATOR, windowIterator);
  
  
  

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


Mime
View raw message