jford       2005/01/14 13:05:51

  Modified:    portals-bridges/php/src/java/org/apache/portals/bridges/php
                        PHPApplicationPortlet.java
  Log:
  Fixing naming issue in JDK 5.0
  
  Revision  Changes    Path
  1.2       +4 -4      
jakarta-jetspeed-2/portals-bridges/php/src/java/org/apache/portals/bridges/php/PHPApplicationPortlet.java
  
  Index: PHPApplicationPortlet.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jetspeed-2/portals-bridges/php/src/java/org/apache/portals/bridges/php/PHPApplicationPortlet.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PHPApplicationPortlet.java        11 Nov 2004 01:17:56 -0000      1.1
  +++ PHPApplicationPortlet.java        14 Jan 2005 21:05:50 -0000      1.2
  @@ -178,11 +178,11 @@
                        phpScript.setScriptName(phpParameter);
                        
                        // Get all the parameters from the request and add them 
as query arguments
  -                     Enumeration enum = actionRequest.getParameterNames();
  +                     Enumeration names = actionRequest.getParameterNames();
                        String name, value;
  -                     while (enum.hasMoreElements())
  +                     while (names.hasMoreElements())
                        {
  -                             name = (String)enum.nextElement();
  +                             name = (String)names.nextElement();
                                // ACTION_PARAMETER_PHP already processed just 
ignore it
                                if 
(name.compareToIgnoreCase(PHPParameters.ACTION_PARAMETER_PHP) != 0)
                                {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to