This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new 09f6abfa71 Removed unnecessary brackets
09f6abfa71 is described below
commit 09f6abfa7145f44ec7a71acae9815d0b1d773d7e
Author: greeng00se <[email protected]>
AuthorDate: Tue Sep 5 16:15:04 2023 +0900
Removed unnecessary brackets
---
java/org/apache/coyote/Request.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/org/apache/coyote/Request.java
b/java/org/apache/coyote/Request.java
index 56d7b74b0a..74d4523838 100644
--- a/java/org/apache/coyote/Request.java
+++ b/java/org/apache/coyote/Request.java
@@ -437,7 +437,7 @@ public final class Request {
public String getContentType() {
contentType();
- if ((contentTypeMB == null) || contentTypeMB.isNull()) {
+ if (contentTypeMB == null || contentTypeMB.isNull()) {
return null;
}
return contentTypeMB.toString();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]