You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2021/09/02 08:29:13 UTC
[tomcat] branch 8.5.x updated: Align with Commons FileUpload source
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/8.5.x by this push:
new f81068d Align with Commons FileUpload source
f81068d is described below
commit f81068d6f1c6d342382d833a4c7e715b4f9aee12
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Sep 2 09:28:24 2021 +0100
Align with Commons FileUpload source
---
java/org/apache/tomcat/util/http/fileupload/package-info.java | 1 -
.../tomcat/util/http/fileupload/servlet/ServletRequestContext.java | 4 ++--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/java/org/apache/tomcat/util/http/fileupload/package-info.java b/java/org/apache/tomcat/util/http/fileupload/package-info.java
index aea8293..f13b598 100644
--- a/java/org/apache/tomcat/util/http/fileupload/package-info.java
+++ b/java/org/apache/tomcat/util/http/fileupload/package-info.java
@@ -15,7 +15,6 @@
* limitations under the License.
*/
-
/**
* <p><b>NOTE:</b> This code has been copied from commons-fileupload trunk
* 1.3 and commons-io 1.4 and package renamed to avoid clashes with
diff --git a/java/org/apache/tomcat/util/http/fileupload/servlet/ServletRequestContext.java b/java/org/apache/tomcat/util/http/fileupload/servlet/ServletRequestContext.java
index 67852a6..a23f693 100644
--- a/java/org/apache/tomcat/util/http/fileupload/servlet/ServletRequestContext.java
+++ b/java/org/apache/tomcat/util/http/fileupload/servlet/ServletRequestContext.java
@@ -110,8 +110,8 @@ public class ServletRequestContext implements UploadContext {
@Override
public String toString() {
return String.format("ContentLength=%s, ContentType=%s",
- Long.valueOf(this.contentLength()),
- this.getContentType());
+ Long.valueOf(this.contentLength()),
+ this.getContentType());
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org