You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ma...@apache.org on 2017/12/05 09:59:34 UTC

[4/4] commons-fileupload git commit: Improve exception message

Improve exception message


Project: http://git-wip-us.apache.org/repos/asf/commons-fileupload/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-fileupload/commit/cae90fac
Tree: http://git-wip-us.apache.org/repos/asf/commons-fileupload/tree/cae90fac
Diff: http://git-wip-us.apache.org/repos/asf/commons-fileupload/diff/cae90fac

Branch: refs/heads/master
Commit: cae90facebc54803232a0593003914ca77193a73
Parents: bede1aa
Author: Mark Thomas <ma...@apache.org>
Authored: Tue Dec 5 09:59:05 2017 +0000
Committer: Mark Thomas <ma...@apache.org>
Committed: Tue Dec 5 09:59:05 2017 +0000

----------------------------------------------------------------------
 src/main/java/org/apache/commons/fileupload/MultipartStream.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-fileupload/blob/cae90fac/src/main/java/org/apache/commons/fileupload/MultipartStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/fileupload/MultipartStream.java b/src/main/java/org/apache/commons/fileupload/MultipartStream.java
index ee60a3d..38d57ff 100644
--- a/src/main/java/org/apache/commons/fileupload/MultipartStream.java
+++ b/src/main/java/org/apache/commons/fileupload/MultipartStream.java
@@ -507,7 +507,7 @@ public class MultipartStream {
             throws IllegalBoundaryException {
         if (boundary.length != boundaryLength - BOUNDARY_PREFIX.length) {
             throw new IllegalBoundaryException(
-            "The length of a boundary token can not be changed");
+            "The length of a boundary token cannot be changed");
         }
         System.arraycopy(boundary, 0, this.boundary, BOUNDARY_PREFIX.length,
                 boundary.length);