Fix Eclipse warnings
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 21 Oct 2010 16:41:40 +0000 (16:41 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 21 Oct 2010 16:41:40 +0000 (16:41 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1026061 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/naming/resources/DirContextURLStreamHandler.java
java/org/apache/naming/resources/DirContextURLStreamHandlerFactory.java

index 5358b5d..eee7127 100644 (file)
@@ -39,6 +39,7 @@ public class DirContextURLStreamHandler
     
     
     public DirContextURLStreamHandler() {
+        // NOOP
     }
     
     
index ab77b5a..54f9da8 100644 (file)
@@ -34,6 +34,7 @@ public class DirContextURLStreamHandlerFactory
     
     
     public DirContextURLStreamHandlerFactory() {
+        // NOOP
     }
     
     
@@ -54,6 +55,7 @@ public class DirContextURLStreamHandlerFactory
      * @return a URLStreamHandler for the jndi protocol, or null if the 
      * protocol is not JNDI
      */
+    @Override
     public URLStreamHandler createURLStreamHandler(String protocol) {
         if (protocol.equals("jndi")) {
             return new DirContextURLStreamHandler();