commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joc...@apache.org
Subject svn commit: r735375 - in /commons/proper/fileupload/trunk/src: changes/changes.xml java/org/apache/commons/fileupload/FileUploadBase.java
Date Sun, 18 Jan 2009 02:26:09 GMT
Author: jochen
Date: Sat Jan 17 18:26:08 2009
New Revision: 735375

URL: http://svn.apache.org/viewvc?rev=735375&view=rev
Log:
PR: FILEUPLOAD-152
Submitted-By: Duzakropka <duzakropka.@gmail.com>
Fixed the error message for
FileSizeLimitExceededException fromm "too many
characters" to "too many bytes".

Modified:
    commons/proper/fileupload/trunk/src/changes/changes.xml
    commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/FileUploadBase.java

Modified: commons/proper/fileupload/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/fileupload/trunk/src/changes/changes.xml?rev=735375&r1=735374&r2=735375&view=diff
==============================================================================
--- commons/proper/fileupload/trunk/src/changes/changes.xml (original)
+++ commons/proper/fileupload/trunk/src/changes/changes.xml Sat Jan 17 18:26:08 2009
@@ -63,6 +63,11 @@
           due-to="J&#246;rg Heinicke" due-to-email="joerg.heinicke@gmx.de">
         Multiple documentation fixes.
       </action>
+      <action dev="jochen" type="fix" issue="FILEUPLOAD-152"
+          due-to="Duzakropka" due-to-email="duzakropka.@gmail.com">
+        Fixed the error message for FileSizeLimitExceededException
+        from "too many characters" to "too many bytes".
+      </action>
     </release>
 
     <release version="1.2.1" date="2008-01-18">

Modified: commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/FileUploadBase.java
URL: http://svn.apache.org/viewvc/commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/FileUploadBase.java?rev=735375&r1=735374&r2=735375&view=diff
==============================================================================
--- commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/FileUploadBase.java
(original)
+++ commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/FileUploadBase.java
Sat Jan 17 18:26:08 2009
@@ -748,7 +748,7 @@
                                 "The field " + fieldName
                                 + " exceeds its maximum permitted "
                                 + " size of " + fileSizeMax
-                                + " characters.",
+                                + " bytes.",
                                 pContentLength, fileSizeMax);
                         throw new FileUploadIOException(e);
                     }
@@ -761,7 +761,7 @@
                                     "The field " + fieldName
                                     + " exceeds its maximum permitted "
                                     + " size of " + pSizeMax
-                                    + " characters.",
+                                    + " bytes.",
                                     pCount, pSizeMax);
                             throw new FileUploadIOException(e);
                         }



Mime
View raw message