felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r784662 - /felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/ScrCommand.java
Date Mon, 15 Jun 2009 06:12:14 GMT
Author: fmeschbe
Date: Mon Jun 15 06:12:13 2009
New Revision: 784662

URL: http://svn.apache.org/viewvc?rev=784662&view=rev
Log:
FELIX-1238 Applying patch by Filippo Diotalevi adding missing returns statements.

Modified:
    felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/ScrCommand.java

Modified: felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/ScrCommand.java
URL: http://svn.apache.org/viewvc/felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/ScrCommand.java?rev=784662&r1=784661&r2=784662&view=diff
==============================================================================
--- felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/ScrCommand.java (original)
+++ felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/ScrCommand.java Mon Jun 15 06:12:13
2009
@@ -140,6 +140,7 @@
                 if ( components == null )
                 {
                     out.println( "Bundle " + bundleId + " declares no components" );
+                    return;
                 }
             }
             catch ( NumberFormatException nfe )
@@ -154,6 +155,7 @@
             if ( components == null )
             {
                 out.println( "No components registered" );
+                return;
             }
         }
 



Mime
View raw message