Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/CmdLineArgs.java')
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/CmdLineArgs.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/CmdLineArgs.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/CmdLineArgs.java
index 3b73e2ffaf0..8cba46567df 100644
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/CmdLineArgs.java
+++ b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/CmdLineArgs.java
@@ -14,14 +14,14 @@ import java.util.HashMap;
public class CmdLineArgs {
- private HashMap<String, String> cmdArgs;
+ private final HashMap<String, String> cmdArgs;
public CmdLineArgs(String[] args) {
cmdArgs = new HashMap<String, String>();
for (int i = 0; i < args.length; i++) {
if (args[i].matches("-\\w.*")) {
- if ((i + 1 < args.length) && (!args[i + 1].matches("-\\D.*"))) {
+ if (i + 1 < args.length && !args[i + 1].matches("-\\D.*")) {
cmdArgs.put(args[i], args[i + 1]);
i++;
} else {

Back to the top