Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6A5747B80 for ; Sun, 4 Sep 2011 14:11:22 +0000 (UTC) Received: (qmail 58998 invoked by uid 500); 4 Sep 2011 14:11:21 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 58797 invoked by uid 500); 4 Sep 2011 14:11:20 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 58790 invoked by uid 99); 4 Sep 2011 14:11:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Sep 2011 14:11:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Sep 2011 14:11:17 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 7963C23889B3 for ; Sun, 4 Sep 2011 14:10:56 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@commons.apache.org From: simonetripodi@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110904141056.7963C23889B3@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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();