This is an automated email from the ASF dual-hosted git repository.
remm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/master by this push:
new 2347e32 Reduce differences with 8.5
2347e32 is described below
commit 2347e3218ea94068c6bd49f6520362e7c4376c09
Author: remm <[email protected]>
AuthorDate: Tue Nov 26 10:12:03 2019 +0100
Reduce differences with 8.5
---
java/org/apache/tomcat/util/net/SocketWrapperBase.java | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/java/org/apache/tomcat/util/net/SocketWrapperBase.java
b/java/org/apache/tomcat/util/net/SocketWrapperBase.java
index 777276d..9a2662f 100644
--- a/java/org/apache/tomcat/util/net/SocketWrapperBase.java
+++ b/java/org/apache/tomcat/util/net/SocketWrapperBase.java
@@ -218,13 +218,9 @@ public abstract class SocketWrapperBase<E> {
return this.writeTimeout;
}
- public void setKeepAliveLeft(int keepAliveLeft) {
- this.keepAliveLeft = keepAliveLeft;
- }
- public int decrementKeepAlive() {
- return --keepAliveLeft;
- }
+ public void setKeepAliveLeft(int keepAliveLeft) { this.keepAliveLeft =
keepAliveLeft; }
+ public int decrementKeepAlive() { return (--keepAliveLeft); }
public String getRemoteHost() {
if (remoteHost == null) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]