From 646d85a68bcc7c7860acaf930e81d8542b08977b Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Fri, 6 Jun 2014 12:30:00 -0700 Subject: [PATCH] 436388 - Allow case-insensitive STOP.KEY and STOP.PORT use + Internal (to start.jar) use of properties are now case-insensitive --- jetty-start/src/main/java/org/eclipse/jetty/start/Props.java | 4 ++-- 1 file 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 20a7434b849..7d35aaaf4c8 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 return l; } - private Map props = new HashMap<>(); + private Map props = new TreeMap<>(String.CASE_INSENSITIVE_ORDER); private List sysPropTracking = new ArrayList<>(); public void addAll(Props other)