analysis.lami: Add support for user-defined LAMI analyses
[deliverable/tracecompass.git] / analysis / org.eclipse.tracecompass.analysis.lami.core / src / org / eclipse / tracecompass / internal / provisional / analysis / lami / core / ShellUtils.java
index 937c994e5a9d585eb57d874ede455e26a53c481d..22644dce1c9a9e04b051b057045fb3f2c24133ca 100644 (file)
@@ -32,14 +32,14 @@ public class ShellUtils {
     public static List<String> commandStringToArgs(String command) {
         int index = 0;
         boolean inQuotes = false;
-        List<String> args = new ArrayList<>();
-        StringBuilder sb = new StringBuilder();
+        final List<String> args = new ArrayList<>();
+        final StringBuilder sb = new StringBuilder();
 
         while (index < command.length()) {
-            char ch = command.charAt(index);
+            final char ch = command.charAt(index);
 
             if (ch == '\\' && index < command.length() - 1) {
-                char escaped = command.charAt(index + 1);
+                final char escaped = command.charAt(index + 1);
 
                 if (escaped == '\\' || escaped == '"') {
                     // Valid escaped character
This page took 0.026441 seconds and 5 git commands to generate.