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
The following commit(s) were added to refs/heads/master by this push:
new fa1f7ae Remove implementation of removed, deprecated method
fa1f7ae is described below
commit fa1f7aea44b46f978168ba93677345f47b06a0b3
Author: Mark Thomas <[email protected]>
AuthorDate: Wed Jan 15 09:37:09 2020 +0000
Remove implementation of removed, deprecated method
---
java/org/apache/coyote/AbstractProtocol.java | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/java/org/apache/coyote/AbstractProtocol.java
b/java/org/apache/coyote/AbstractProtocol.java
index 2f5f49a..7a04834 100644
--- a/java/org/apache/coyote/AbstractProtocol.java
+++ b/java/org/apache/coyote/AbstractProtocol.java
@@ -19,7 +19,6 @@ package org.apache.coyote;
import java.net.InetAddress;
import java.nio.ByteBuffer;
import java.util.Collections;
-import java.util.HashSet;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ExecutionException;
@@ -1046,20 +1045,6 @@ public abstract class AbstractProtocol<S> implements
ProtocolHandler,
}
- @Override
- public Set<S> getOpenSockets() {
- Set<SocketWrapperBase<S>> set =
proto.getEndpoint().getConnections();
- Set<S> result = new HashSet<>();
- for (SocketWrapperBase<S> socketWrapper : set) {
- S socket = socketWrapper.getSocket();
- if (socket != null) {
- result.add(socket);
- }
- }
- return result;
- }
-
-
/**
* Expected to be used by the handler once the processor is no longer
* required.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]