We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1917a1d commit 3d7b7ceCopy full SHA for 3d7b7ce
sources/com/seanox/devwex/Worker.java
@@ -62,7 +62,7 @@
62
* controlled, it is completely aborted.
63
*
64
* @author Seanox Software Solutions
65
- * @version 5.5.0 20220928
+ * @version 5.5.0 20221003
66
*/
67
class Worker implements Runnable {
68
@@ -175,9 +175,9 @@ class Worker implements Runnable {
175
176
private static String cleanOptions(String string) {
177
int cursor = string.indexOf('[');
178
- if (cursor >= 0)
179
- string = string.substring(0, cursor).trim();
180
- return string;
+ if (cursor < 0)
+ return string;
+ return string.substring(0, cursor).trim();
181
}
182
183
/**
0 commit comments