Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Erdfelt2014-06-06 19:30:00 +0000
committerJoakim Erdfelt2014-06-06 19:30:00 +0000
commit646d85a68bcc7c7860acaf930e81d8542b08977b (patch)
tree7f56ace4b59ae54cc7e464069a6b53b58f26963e /jetty-start
parent11b08b77e6fa65235964b6352705b1d9b6ed5c14 (diff)
downloadorg.eclipse.jetty.project-646d85a68bcc7c7860acaf930e81d8542b08977b.tar.gz
org.eclipse.jetty.project-646d85a68bcc7c7860acaf930e81d8542b08977b.tar.xz
org.eclipse.jetty.project-646d85a68bcc7c7860acaf930e81d8542b08977b.zip
436388 - Allow case-insensitive STOP.KEY and STOP.PORT use
+ Internal (to start.jar) use of properties are now case-insensitive
Diffstat (limited to 'jetty-start')
-rw-r--r--jetty-start/src/main/java/org/eclipse/jetty/start/Props.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/jetty-start/src/main/java/org/eclipse/jetty/start/Props.java b/jetty-start/src/main/java/org/eclipse/jetty/start/Props.java
index 20a7434b84..7d35aaaf4c 100644
--- a/jetty-start/src/main/java/org/eclipse/jetty/start/Props.java
+++ b/jetty-start/src/main/java/org/eclipse/jetty/start/Props.java
@@ -23,12 +23,12 @@ import static org.eclipse.jetty.start.UsageException.*;
import java.io.IOException;
import java.io.OutputStream;
import java.util.ArrayList;
-import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.Stack;
+import java.util.TreeMap;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
@@ -98,7 +98,7 @@ public final class Props implements Iterable<Prop>
return l;
}
- private Map<String, Prop> props = new HashMap<>();
+ private Map<String, Prop> props = new TreeMap<>(String.CASE_INSENSITIVE_ORDER);
private List<String> sysPropTracking = new ArrayList<>();
public void addAll(Props other)

Back to the top