portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raph...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/portal/portlets/admin JetspeedPropertiesPortlet.java
Date Tue, 03 Apr 2001 00:27:07 GMT
raphael     01/04/02 17:27:07

  Modified:    src/java/org/apache/jetspeed/portal/portlets/admin
                        JetspeedPropertiesPortlet.java
  Log:
  - update Turbine dependency to TDKa13
  
  Revision  Changes    Path
  1.19      +10 -15    jakarta-jetspeed/src/java/org/apache/jetspeed/portal/portlets/admin/JetspeedPropertiesPortlet.java
  
  Index: JetspeedPropertiesPortlet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/portal/portlets/admin/JetspeedPropertiesPortlet.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- JetspeedPropertiesPortlet.java	2001/03/29 06:11:48	1.18
  +++ JetspeedPropertiesPortlet.java	2001/04/03 00:27:06	1.19
  @@ -61,26 +61,21 @@
   import org.apache.ecs.StringElement;
   
   //Jetspeed stuff
  -import org.apache.jetspeed.portal.portlets.*;
  -import org.apache.jetspeed.portal.*;
  -import org.apache.jetspeed.portal.factory.*;
  -import org.apache.jetspeed.util.*;
  -import org.apache.jetspeed.cache.disk.*;
  +import org.apache.jetspeed.portal.portlets.AbstractPortlet;
  +import org.apache.jetspeed.portal.PortletException;
  +import org.apache.jetspeed.services.resources.JetspeedResources;
   
   //turbine
  -import org.apache.turbine.util.*;
  -import org.apache.turbine.services.resources.TurbineResources;
  +import org.apache.turbine.util.RunData;
   
   //standard java stuff
  -import java.net.*;
  -import java.io.*;
  -import java.util.*;
  +import java.util.Iterator;
   
   /**
   Handles enumerating Portlets that are also applications
   
   @author <a href="mailto:burton@apache.org">Kevin A. Burton</a>
  -@version $Id: JetspeedPropertiesPortlet.java,v 1.18 2001/03/29 06:11:48 sgala Exp $ 
  +@version $Id: JetspeedPropertiesPortlet.java,v 1.19 2001/04/03 00:27:06 raphael Exp $ 
   */
   public class JetspeedPropertiesPortlet extends AbstractPortlet {
   
  @@ -97,14 +92,14 @@
           ElementContainer root = new ElementContainer();
           Table table = new Table().setWidth("100%");
   
  -        Enumeration enum = TurbineResources.getKeys();
  +        Iterator i = JetspeedResources.getKeys();
   
           root.addElement( new B( "Jetspeed properties: " ) );
           
  -        while ( enum.hasMoreElements() ) {
  -            String key = (String)enum.nextElement();
  +        while ( i.hasNext() ) {
  +            String key = (String)i.next();
               try {
  -                Object value = TurbineResources.getString(key);
  +                Object value = JetspeedResources.getString(key);
                   TR row = new TR();
                   row.addElement( new TD().addElement( key ) );
                   
  
  
  

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


Mime
View raw message