This is an automated email from the ASF dual-hosted git repository. remm pushed a commit to branch 8.5.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/8.5.x by this push: new a7e3b90 Avoid API change by adding back deprecated methods a7e3b90 is described below commit a7e3b905fdc13fd426b8e6e9c8673e26282f8a18 Author: remm <r...@apache.org> AuthorDate: Mon Mar 4 10:13:02 2019 +0100 Avoid API change by adding back deprecated methods --- java/org/apache/tomcat/util/net/SocketWrapperBase.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/java/org/apache/tomcat/util/net/SocketWrapperBase.java b/java/org/apache/tomcat/util/net/SocketWrapperBase.java index 4f40afd..df84510 100644 --- a/java/org/apache/tomcat/util/net/SocketWrapperBase.java +++ b/java/org/apache/tomcat/util/net/SocketWrapperBase.java @@ -971,6 +971,14 @@ public abstract class SocketWrapperBase<E> { return true; } + @Deprecated + public final <A> CompletionState read(boolean block, long timeout, + TimeUnit unit, A attachment, CompletionCheck check, + CompletionHandler<Long, ? super A> handler, ByteBuffer... dsts) { + return read(block ? BlockingMode.BLOCK : BlockingMode.NON_BLOCK, + timeout, unit, attachment, check, handler, dsts); + } + /** * Scatter read. The completion handler will be called once some * data has been read or an error occurred. If a CompletionCheck @@ -1028,6 +1036,14 @@ public abstract class SocketWrapperBase<E> { throw new UnsupportedOperationException(); } + @Deprecated + public final <A> CompletionState write(boolean block, long timeout, + TimeUnit unit, A attachment, CompletionCheck check, + CompletionHandler<Long, ? super A> handler, ByteBuffer... srcs) { + return write(block ? BlockingMode.BLOCK : BlockingMode.NON_BLOCK, + timeout, unit, attachment, check, handler, srcs); + } + /** * Gather write. The completion handler will be called once some * data has been written or an error occurred. If a CompletionCheck --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org