felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r1591422 - /felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/ScrShellCommand.java
Date Wed, 30 Apr 2014 18:01:38 GMT
Author: djencks
Date: Wed Apr 30 18:01:38 2014
New Revision: 1591422

URL: http://svn.apache.org/r1591422
Log:
[FELIX-4447] fix regexp, thanks to Olivier Fayau

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

Modified: felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/ScrShellCommand.java
URL: http://svn.apache.org/viewvc/felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/ScrShellCommand.java?rev=1591422&r1=1591421&r2=1591422&view=diff
==============================================================================
--- felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/ScrShellCommand.java (original)
+++ felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/ScrShellCommand.java Wed Apr 30
18:01:38 2014
@@ -63,7 +63,7 @@ class ScrShellCommand implements Command
     public void execute(String commandLine, PrintStream out, PrintStream err)
     {
         // Parse the commandLine to get the OBR command.
-        String[] st = commandLine.split("//s");
+        String[] st = commandLine.split("\\s+");
         // Ignore the invoking command.
         // Try to get the OBR command, default is HELP command.
         String command = st.length > 1? st[1]: HELP_CMD;



Mime
View raw message