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 2023/09/05 09:36:39 UTC
[tomcat] branch 8.5.x updated: Removed unnecessary brackets
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 28cf6b3c9b Removed unnecessary brackets
28cf6b3c9b is described below
commit 28cf6b3c9bfdfc0767a683565ed9c23fad88f0ec
Author: greeng00se <th...@gmail.com>
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 838dd34d57..354c4ac289 100644
--- a/java/org/apache/coyote/Request.java
+++ b/java/org/apache/coyote/Request.java
@@ -438,7 +438,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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org