Return-Path: Delivered-To: apmail-struts-commits-archive@locus.apache.org Received: (qmail 11523 invoked from network); 25 Jul 2006 23:16:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Jul 2006 23:16:00 -0000 Received: (qmail 86416 invoked by uid 500); 25 Jul 2006 23:15:59 -0000 Delivered-To: apmail-struts-commits-archive@struts.apache.org Received: (qmail 85773 invoked by uid 500); 25 Jul 2006 23:15:57 -0000 Mailing-List: contact commits-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list commits@struts.apache.org Received: (qmail 85764 invoked by uid 99); 25 Jul 2006 23:15:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jul 2006 16:15:57 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jul 2006 16:15:57 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 356691A981A; Tue, 25 Jul 2006 16:15:37 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@struts.apache.org From: hrabago@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20060725231537.356691A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 @@ /** *

Construct a new instance with a {@link ForwardConfig} object to copy - * name, path, and contextRelative values from.

+ * name, path, contextRelative, and arbitrary property values from.

* * @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(); }