Author: kkolinko
Date: Mon Jul  4 13:41:43 2011
New Revision: 1142661

URL: http://svn.apache.org/viewvc?rev=1142661&view=rev
Log:
Add @Override annotation

Modified:
    tomcat/trunk/java/org/apache/tomcat/util/net/NioChannel.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/net/NioChannel.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/NioChannel.java?rev=1142661&r1=1142660&r2=1142661&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/NioChannel.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/NioChannel.java Mon Jul  4 
13:41:43 2011
@@ -86,6 +86,7 @@ public class NioChannel implements ByteC
      * @throws IOException If an I/O error occurs
      * TODO Implement this java.nio.channels.Channel method
      */
+    @Override
     public void close() throws IOException {
         getIOChannel().socket().close();
         getIOChannel().close();
@@ -100,6 +101,7 @@ public class NioChannel implements ByteC
      * @return <tt>true</tt> if, and only if, this channel is open
      * TODO Implement this java.nio.channels.Channel method
      */
+    @Override
     public boolean isOpen() {
         return sc.isOpen();
     }
@@ -112,6 +114,7 @@ public class NioChannel implements ByteC
      * @throws IOException If some other I/O error occurs
      * TODO Implement this java.nio.channels.WritableByteChannel method
      */
+    @Override
     public int write(ByteBuffer src) throws IOException {
         return sc.write(src);
     }
@@ -124,6 +127,7 @@ public class NioChannel implements ByteC
      * @throws IOException If some other I/O error occurs
      * TODO Implement this java.nio.channels.ReadableByteChannel method
      */
+    @Override
     public int read(ByteBuffer dst) throws IOException {
         return sc.read(dst);
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to