You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2019/11/26 09:12:21 UTC
[tomcat] branch master updated: Reduce differences with 8.5
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 <re...@apache.org>
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org