commit | 1955fd2466af28baa04686eaf9e8296a10415410 | [log] [tgz] |
---|---|---|
author | Felix Meschberger <fmeschbe@apache.org> | Mon Jun 15 06:12:13 2009 +0000 |
committer | Felix Meschberger <fmeschbe@apache.org> | Mon Jun 15 06:12:13 2009 +0000 |
tree | 205a0a3f15420e67adffb6877b2f743ea33a4a84 | |
parent | 6ecce8ed13ef7955e29d304f611e73f3a9510fb5 [diff] |
FELIX-1238 Applying patch by Filippo Diotalevi adding missing returns statements. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@784662 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scr/src/main/java/org/apache/felix/scr/impl/ScrCommand.java b/scr/src/main/java/org/apache/felix/scr/impl/ScrCommand.java index eb77d62..d40e423 100644 --- a/scr/src/main/java/org/apache/felix/scr/impl/ScrCommand.java +++ b/scr/src/main/java/org/apache/felix/scr/impl/ScrCommand.java
@@ -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; } }