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 2020/03/27 17:18:47 UTC
[tomcat] branch master updated (4c853d3 -> 157a131)
This is an automated email from the ASF dual-hosted git repository.
markt pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git.
from 4c853d3 getDeferAccept now returns false in AbstractEndpoint
new 7517387 Fix typo
new 157a131 Remove unnecessary setProperty() calls
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
java/org/apache/catalina/connector/Connector.java | 11 -----------
test/org/apache/tomcat/util/buf/TestCharsetUtil.java | 2 +-
2 files changed, 1 insertion(+), 12 deletions(-)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[tomcat] 02/02: Remove unnecessary setProperty() calls
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit 157a131665130e4fa2f4640a12bb7630481ce52e
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri Mar 27 17:18:12 2020 +0000
Remove unnecessary setProperty() calls
---
java/org/apache/catalina/connector/Connector.java | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/java/org/apache/catalina/connector/Connector.java b/java/org/apache/catalina/connector/Connector.java
index ec65163..d78afff 100644
--- a/java/org/apache/catalina/connector/Connector.java
+++ b/java/org/apache/catalina/connector/Connector.java
@@ -393,7 +393,6 @@ public class Connector extends LifecycleMBeanBase {
*/
public void setAllowTrace(boolean allowTrace) {
this.allowTrace = allowTrace;
- setProperty("allowTrace", String.valueOf(allowTrace));
}
@@ -450,7 +449,6 @@ public class Connector extends LifecycleMBeanBase {
*/
public void setEnableLookups(boolean enableLookups) {
this.enableLookups = enableLookups;
- setProperty("enableLookups", String.valueOf(enableLookups));
}
@@ -501,7 +499,6 @@ public class Connector extends LifecycleMBeanBase {
*/
public void setMaxParameterCount(int maxParameterCount) {
this.maxParameterCount = maxParameterCount;
- setProperty("maxParameterCount", String.valueOf(maxParameterCount));
}
@@ -523,7 +520,6 @@ public class Connector extends LifecycleMBeanBase {
*/
public void setMaxPostSize(int maxPostSize) {
this.maxPostSize = maxPostSize;
- setProperty("maxPostSize", String.valueOf(maxPostSize));
}
@@ -577,7 +573,6 @@ public class Connector extends LifecycleMBeanBase {
this.parseBodyMethods = methods;
this.parseBodyMethodsSet = methodSet;
- setProperty("parseBodyMethods", methods);
}
@@ -713,7 +708,6 @@ public class Connector extends LifecycleMBeanBase {
} else {
this.proxyName = null;
}
- setProperty("proxyName", this.proxyName);
}
@@ -732,7 +726,6 @@ public class Connector extends LifecycleMBeanBase {
*/
public void setProxyPort(int proxyPort) {
this.proxyPort = proxyPort;
- setProperty("proxyPort", String.valueOf(proxyPort));
}
@@ -753,7 +746,6 @@ public class Connector extends LifecycleMBeanBase {
*/
public void setRedirectPort(int redirectPort) {
this.redirectPort = redirectPort;
- setProperty("redirectPort", String.valueOf(redirectPort));
}
@@ -855,7 +847,6 @@ public class Connector extends LifecycleMBeanBase {
*/
public void setUseBodyEncodingForURI(boolean useBodyEncodingForURI) {
this.useBodyEncodingForURI = useBodyEncodingForURI;
- setProperty("useBodyEncodingForURI", String.valueOf(useBodyEncodingForURI));
}
/**
@@ -880,7 +871,6 @@ public class Connector extends LifecycleMBeanBase {
*/
public void setXpoweredBy(boolean xpoweredBy) {
this.xpoweredBy = xpoweredBy;
- setProperty("xpoweredBy", String.valueOf(xpoweredBy));
}
@@ -892,7 +882,6 @@ public class Connector extends LifecycleMBeanBase {
*/
public void setUseIPVHosts(boolean useIPVHosts) {
this.useIPVHosts = useIPVHosts;
- setProperty("useIPVHosts", String.valueOf(useIPVHosts));
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[tomcat] 01/02: Fix typo
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit 7517387b48b833cb25074471ca7dae9b6c7ddafd
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri Mar 27 16:12:05 2020 +0000
Fix typo
---
test/org/apache/tomcat/util/buf/TestCharsetUtil.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/org/apache/tomcat/util/buf/TestCharsetUtil.java b/test/org/apache/tomcat/util/buf/TestCharsetUtil.java
index b6b7790..ac996d1 100644
--- a/test/org/apache/tomcat/util/buf/TestCharsetUtil.java
+++ b/test/org/apache/tomcat/util/buf/TestCharsetUtil.java
@@ -44,7 +44,7 @@ public class TestCharsetUtil {
/*
- * More comprehensive test that checks that, part from where the encoding
+ * More comprehensive test that checks that, apart from where the encoding
* overlaps with ASCII, no valid ASCII bytes are used.
*/
@Test
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org