diff src/org/eclipse/jetty/util/StringUtil.java @ 1013:6939226e0ac4

simplify URIUtil
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 24 Oct 2016 01:06:33 -0600
parents 8d0bdd357e6e
children
line wrap: on
line diff
--- a/src/org/eclipse/jetty/util/StringUtil.java	Mon Oct 24 00:47:24 2016 -0600
+++ b/src/org/eclipse/jetty/util/StringUtil.java	Mon Oct 24 01:06:33 2016 -0600
@@ -175,7 +175,7 @@
 
 	public static boolean isUTF8(String charset)
 	{
-		return __UTF8.equalsIgnoreCase(charset)||__UTF8Alt.equalsIgnoreCase(charset);
+		return __UTF8.equalsIgnoreCase(charset)||"UTF8".equalsIgnoreCase(charset);
 	}