File tree Expand file tree Collapse file tree 2 files changed +1
-12
lines changed
io.sloeber.core/src/io/sloeber/core Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -301,9 +301,6 @@ public void setRTS(boolean state) {
301
301
}
302
302
}
303
303
304
- // TODO Remove unused code found by UCDetector
305
- // public void setup() {// JABA is not going to add code
306
- // }
307
304
308
305
// needed to fill viewers in jfases
309
306
@ Override
Original file line number Diff line number Diff line change @@ -151,15 +151,7 @@ public ExternalCommandLauncher(String command) {
151
151
this .myRunLock = this ;
152
152
String [] commandParts = command
153
153
.split (" +(?=([^\" ]*\" [^\" ]*\" )*[^\" ]*$)" ); //$NON-NLS-1$
154
- //TODO do we really want to remove the quotes?
155
- // for (int curCommand = 0; curCommand < commandParts.length; curCommand++) {
156
- // if (commandParts[curCommand].startsWith("\"") //$NON-NLS-1$
157
- // && commandParts[curCommand].endsWith("\"")) { //$NON-NLS-1$
158
- // commandParts[curCommand] = commandParts[curCommand].substring(1,
159
- // commandParts[curCommand].length() - 1);
160
- // }
161
- //
162
- // }
154
+
163
155
myProcessBuilder = new ProcessBuilder (Arrays .asList (commandParts ));
164
156
myProcessBuilder .redirectErrorStream (true );
165
157
}
You can’t perform that action at this time.
0 commit comments