Return-Path: Delivered-To: apmail-jakarta-struts-dev-archive@www.apache.org Received: (qmail 74728 invoked from network); 24 Jan 2004 23:39:25 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 24 Jan 2004 23:39:25 -0000 Received: (qmail 50398 invoked by uid 500); 24 Jan 2004 23:39:05 -0000 Delivered-To: apmail-jakarta-struts-dev-archive@jakarta.apache.org Received: (qmail 50300 invoked by uid 500); 24 Jan 2004 23:39:05 -0000 Mailing-List: contact struts-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list struts-dev@jakarta.apache.org Received: (qmail 50287 invoked by uid 500); 24 Jan 2004 23:39:04 -0000 Received: (qmail 50284 invoked from network); 24 Jan 2004 23:39:04 -0000 Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by daedalus.apache.org with SMTP; 24 Jan 2004 23:39:04 -0000 Received: (qmail 74709 invoked by uid 1339); 24 Jan 2004 23:39:18 -0000 Date: 24 Jan 2004 23:39:18 -0000 Message-ID: <20040124233918.74708.qmail@minotaur.apache.org> From: martinc@apache.org To: jakarta-struts-cvs@apache.org Subject: cvs commit: jakarta-struts/src/share/org/apache/struts/upload CommonsMultipartRequestHandler.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N martinc 2004/01/24 15:39:18 Modified: src/share/org/apache/struts/upload CommonsMultipartRequestHandler.java Log: Don't cast max size to an int, since the method wants a long anyway. PR: 26305 Submitted by: Charles Chen Revision Changes Path 1.14 +5 -5 jakarta-struts/src/share/org/apache/struts/upload/CommonsMultipartRequestHandler.java Index: CommonsMultipartRequestHandler.java =================================================================== RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/upload/CommonsMultipartRequestHandler.java,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- CommonsMultipartRequestHandler.java 21 Jan 2004 03:53:49 -0000 1.13 +++ CommonsMultipartRequestHandler.java 24 Jan 2004 23:39:18 -0000 1.14 @@ -218,7 +218,7 @@ // see http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23255 upload.setHeaderEncoding(request.getCharacterEncoding()); // Set the maximum size before a FileUploadException will be thrown. - upload.setSizeMax((int) getSizeMax(ac)); + upload.setSizeMax(getSizeMax(ac)); // Set the maximum size that will be stored in memory. upload.setSizeThreshold((int) getSizeThreshold(ac)); // Set the the location for saving data on disk. --------------------------------------------------------------------- To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-dev-help@jakarta.apache.org