You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by di...@apache.org on 2005/06/27 10:11:30 UTC

svn commit: r201959 - /jakarta/commons/proper/jelly/trunk/src/test/org/apache/commons/jelly/core/TestIncludeTag.java

Author: dion
Date: Mon Jun 27 01:11:29 2005
New Revision: 201959

URL: http://svn.apache.org/viewcvs?rev=201959&view=rev
Log:
Remove else

Modified:
    jakarta/commons/proper/jelly/trunk/src/test/org/apache/commons/jelly/core/TestIncludeTag.java

Modified: jakarta/commons/proper/jelly/trunk/src/test/org/apache/commons/jelly/core/TestIncludeTag.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/jelly/trunk/src/test/org/apache/commons/jelly/core/TestIncludeTag.java?rev=201959&r1=201958&r2=201959&view=diff
==============================================================================
--- jakarta/commons/proper/jelly/trunk/src/test/org/apache/commons/jelly/core/TestIncludeTag.java (original)
+++ jakarta/commons/proper/jelly/trunk/src/test/org/apache/commons/jelly/core/TestIncludeTag.java Mon Jun 27 01:11:29 2005
@@ -139,10 +139,9 @@
         public TagLibrary getTagLibrary(String namespaceURI)  {
             if (namespaceURI.equals("jelly:core")) {
                 return super.getTagLibrary(namespaceURI);
-            } else {
-                throw new NoClassDefFoundError("Unexpected tag library uri: " +
-                                                   namespaceURI);
             }
+            throw new NoClassDefFoundError("Unexpected tag library uri: " +
+                                               namespaceURI);
         }
 
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org