commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject [4/4] commons-fileupload git commit: Improve exception message
Date Tue, 05 Dec 2017 09:59:34 GMT
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 <markt@apache.org>
Authored: Tue Dec 5 09:59:05 2017 +0000
Committer: Mark Thomas <markt@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);


Mime
View raw message