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 661dca7  Deprecate unused methods
661dca7 is described below

commit 661dca729413795830c57b6d557b00d296594caa
Author: remm <r...@apache.org>
AuthorDate: Tue Mar 26 10:03:18 2019 +0100

    Deprecate unused methods
    
    I doubt these methods will ever be useful, so deprecate them before
    possible removal.
---
 java/org/apache/tomcat/util/net/SocketWrapperBase.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/java/org/apache/tomcat/util/net/SocketWrapperBase.java 
b/java/org/apache/tomcat/util/net/SocketWrapperBase.java
index 03679cb..ea14e2c 100644
--- a/java/org/apache/tomcat/util/net/SocketWrapperBase.java
+++ b/java/org/apache/tomcat/util/net/SocketWrapperBase.java
@@ -970,6 +970,7 @@ public abstract class SocketWrapperBase<E> {
      *  <code>false</code> if the operation is still pending and
      *  the specified timeout has passed
      */
+    @Deprecated
     public boolean awaitReadComplete(long timeout, TimeUnit unit) {
         return true;
     }
@@ -984,6 +985,7 @@ public abstract class SocketWrapperBase<E> {
      *  <code>false</code> if the operation is still pending and
      *  the specified timeout has passed
      */
+    @Deprecated
     public boolean awaitWriteComplete(long timeout, TimeUnit unit) {
         return true;
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to