Return-Path: Delivered-To: apmail-struts-commits-archive@locus.apache.org Received: (qmail 54394 invoked from network); 1 May 2006 15:09:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 May 2006 15:09:22 -0000 Received: (qmail 72934 invoked by uid 500); 1 May 2006 15:09:19 -0000 Delivered-To: apmail-struts-commits-archive@struts.apache.org Received: (qmail 72877 invoked by uid 500); 1 May 2006 15:09:18 -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 Delivered-To: moderator for commits@struts.apache.org Received: (qmail 69411 invoked by uid 99); 1 May 2006 15:05:39 -0000 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Message-ID: <20060501150518.52538.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r398613 - /incubator/webwork2/action/src/main/java/org/apache/struts/action2/dispatcher/RequestMap.java Date: Mon, 01 May 2006 15:05:18 -0000 To: commits@struts.apache.org From: hermanns@apache.org X-Mailer: svnmailer-1.0.8 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: hermanns Date: Mon May 1 08:05:17 2006 New Revision: 398613 URL: http://svn.apache.org/viewcvs?rev=398613&view=rev Log: RequestMap not clearing entries when RequestMap.entries is called. Issue Number: WW-1271 Modified: incubator/webwork2/action/src/main/java/org/apache/struts/action2/dispatcher/RequestMap.java Modified: incubator/webwork2/action/src/main/java/org/apache/struts/action2/dispatcher/RequestMap.java URL: http://svn.apache.org/viewcvs/incubator/webwork2/action/src/main/java/org/apache/struts/action2/dispatcher/RequestMap.java?rev=398613&r1=398612&r2=398613&view=diff ============================================================================== --- incubator/webwork2/action/src/main/java/org/apache/struts/action2/dispatcher/RequestMap.java (original) +++ incubator/webwork2/action/src/main/java/org/apache/struts/action2/dispatcher/RequestMap.java Mon May 1 08:05:17 2006 @@ -50,6 +50,7 @@ * Removes all attributes from the request as well as clears entries in this map. */ public void clear() { + entries = null; Enumeration keys = request.getAttributeNames(); while (keys.hasMoreElements()) {