summaryrefslogtreecommitdiff
path: root/qadevOOo/runner/util/utils.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/runner/util/utils.java')
-rw-r--r--qadevOOo/runner/util/utils.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/qadevOOo/runner/util/utils.java b/qadevOOo/runner/util/utils.java
index 6ccc181bbbfe..9a3faf4c53cf 100644
--- a/qadevOOo/runner/util/utils.java
+++ b/qadevOOo/runner/util/utils.java
@@ -331,7 +331,7 @@ public class utils {
dir = dir.substring("file:///".length());
- idx = dir.indexOf(":");
+ idx = dir.indexOf(':');
// is the last character a '/' or a '\'?
boolean lastCharSet = dir.endsWith("/") || dir.endsWith("\\");
@@ -370,7 +370,7 @@ public class utils {
}
// remove leading '/' and replace others with '\' on windows machines
- if (sysDir.indexOf(":") != -1) {
+ if (sysDir.indexOf(':') != -1) {
sysDir = sysDir.substring(1);
sysDir = sysDir.replace('/', '\\');
}
@@ -395,7 +395,7 @@ public class utils {
}
// remove leading '/' and replace others with '\' on windows machines
- if (sysDir.indexOf(":") != -1) {
+ if (sysDir.indexOf(':') != -1) {
sysDir = sysDir.substring(1);
sysDir = sysDir.replace('/', '\\');
}