struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hrab...@apache.org
Subject svn commit: r425554 - /struts/struts1/trunk/core/src/main/java/org/apache/struts/action/ActionRedirect.java
Date Tue, 25 Jul 2006 23:15:36 GMT
Author: hrabago
Date: Tue Jul 25 16:15:36 2006
New Revision: 425554

URL: http://svn.apache.org/viewvc?rev=425554&view=rev
Log:
Copy the set of arbitrary properties when copying a ForwardConfig.

Modified:
    struts/struts1/trunk/core/src/main/java/org/apache/struts/action/ActionRedirect.java

Modified: struts/struts1/trunk/core/src/main/java/org/apache/struts/action/ActionRedirect.java
URL: http://svn.apache.org/viewvc/struts/struts1/trunk/core/src/main/java/org/apache/struts/action/ActionRedirect.java?rev=425554&r1=425553&r2=425554&view=diff
==============================================================================
--- struts/struts1/trunk/core/src/main/java/org/apache/struts/action/ActionRedirect.java (original)
+++ struts/struts1/trunk/core/src/main/java/org/apache/struts/action/ActionRedirect.java Tue
Jul 25 16:15:36 2006
@@ -119,7 +119,7 @@
 
     /**
      * <p>Construct a new instance with a {@link ForwardConfig} object to copy
-     * name, path, and contextRelative values from.</p>
+     * name, path, contextRelative, and arbitrary property values from.</p>
      *
      * @param baseConfig the {@link ForwardConfig} to copy configuration
      *                   values from
@@ -129,6 +129,7 @@
         setPath(baseConfig.getPath());
         setModule(baseConfig.getModule());
         setRedirect(baseConfig.getRedirect());
+        inheritProperties(baseConfig);
         initializeParameters();
     }
 



Mime
View raw message