Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimone Bordet2016-02-09 17:12:04 +0000
committerSimone Bordet2016-02-09 17:12:04 +0000
commit6306f06e2f877b165452b32a719331ad52d682e2 (patch)
treeaad4378caeb6364fce868cbb95414c9e9a382143 /jetty-start/src
parent1ed327ecceb9ab343b790efe14d23a5efdebaebf (diff)
parent145e4bee7139125408acc7388bf58531e96ae3d7 (diff)
downloadorg.eclipse.jetty.project-6306f06e2f877b165452b32a719331ad52d682e2.tar.gz
org.eclipse.jetty.project-6306f06e2f877b165452b32a719331ad52d682e2.tar.xz
org.eclipse.jetty.project-6306f06e2f877b165452b32a719331ad52d682e2.zip
Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'.
Diffstat (limited to 'jetty-start/src')
-rw-r--r--jetty-start/src/main/java/org/eclipse/jetty/start/Licensing.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/jetty-start/src/main/java/org/eclipse/jetty/start/Licensing.java b/jetty-start/src/main/java/org/eclipse/jetty/start/Licensing.java
index 055951fbce..b907d71c33 100644
--- a/jetty-start/src/main/java/org/eclipse/jetty/start/Licensing.java
+++ b/jetty-start/src/main/java/org/eclipse/jetty/start/Licensing.java
@@ -22,6 +22,7 @@ import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.List;
+import java.util.Locale;
import java.util.Map;
import java.util.TreeMap;
@@ -40,7 +41,7 @@ public class Licensing
// skip, no license
return;
}
-
+
if (licenseMap.containsKey(module.getName()))
{
// skip, already being tracked
@@ -61,7 +62,7 @@ public class Licensing
{
return true;
}
-
+
System.err.printf("%nALERT: There are enabled module(s) with licenses.%n");
System.err.printf("The following %d module(s):%n", licenseMap.size());
System.err.printf(" + contains software not provided by the Eclipse Foundation!%n");
@@ -96,7 +97,7 @@ public class Licensing
System.err.printf("%nProceed (y/N)? ");
String response = input.readLine();
- licenseAck = (Utils.isNotBlank(response) && response.toLowerCase().startsWith("y"));
+ licenseAck = (Utils.isNotBlank(response) && response.toLowerCase(Locale.ENGLISH).startsWith("y"));
}
return licenseAck;

Back to the top