Author: kkolinko
Date: Wed May 30 23:49:58 2012
New Revision: 1344509

URL: http://svn.apache.org/viewvc?rev=1344509&view=rev
Log:
Resurrect method of NioEndpoint$Poller that was removed in r1342473
I think it is an internal method, but compatibility concerns were stated in 
"Re: r1342473" thread.
Anyway, it is easy to re-add it.

Modified:
    tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java

Modified: tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java?rev=1344509&r1=1344508&r2=1344509&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java 
(original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java Wed 
May 30 23:49:58 2012
@@ -1276,6 +1276,16 @@ public class NioEndpoint extends Abstrac
             return result;
         }
 
+        /**
+         * @deprecated Replaced by processSendfile(sk, attachment, event)
+         */
+        @Deprecated
+        public boolean processSendfile(SelectionKey sk,
+                KeyAttachment attachment,
+                @SuppressWarnings("unused") boolean reg, boolean event) {
+            return processSendfile(sk, attachment, event);
+        }
+
         public boolean processSendfile(SelectionKey sk, KeyAttachment 
attachment, boolean event) {
             NioChannel sc = null;
             try {



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

Reply via email to