commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1165021 - /commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/ChainListener.java
Date Sun, 04 Sep 2011 14:10:56 GMT
Author: simonetripodi
Date: Sun Sep  4 14:10:56 2011
New Revision: 1165021

URL: http://svn.apache.org/viewvc?rev=1165021&view=rev
Log:
removed dead code, resourceURL cannot be null, at least it is not possible to estabilish a
connection 

Modified:
    commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/ChainListener.java

Modified: commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/ChainListener.java
URL: http://svn.apache.org/viewvc/commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/ChainListener.java?rev=1165021&r1=1165020&r2=1165021&view=diff
==============================================================================
--- commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/ChainListener.java
(original)
+++ commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/ChainListener.java
Sun Sep  4 14:10:56 2011
@@ -261,9 +261,6 @@ public class ChainListener implements Se
                 resourceURL = new URL("jar:"
                                       + translate(jarURL.toExternalForm())
                                       + "!/META-INF/chain-config.xml");
-                if (resourceURL == null) {
-                    continue;
-                }
                 InputStream is = null;
                 try {
                     is = resourceURL.openStream();
@@ -326,9 +323,6 @@ public class ChainListener implements Se
                 resourceURL = new URL("jar:"
                                       + translate(jarURL.toExternalForm())
                                       + "!/META-INF/chain-config.xml");
-                if (resourceURL == null) {
-                    continue;
-                }
                 InputStream is = null;
                 try {
                     is = resourceURL.openStream();



Mime
View raw message