commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r201959 - /jakarta/commons/proper/jelly/trunk/src/test/org/apache/commons/jelly/core/TestIncludeTag.java
Date Mon, 27 Jun 2005 08:11:30 GMT
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


Mime
View raw message