From 086bea097d8133663ef670fd1f62c8b83d5493b9 Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Wed, 8 Oct 2014 10:50:17 -0700 Subject: [PATCH] Using StandardCharset where appropriate --- .../src/test/java/org/eclipse/jetty/server/RequestTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetty-server/src/test/java/org/eclipse/jetty/server/RequestTest.java b/jetty-server/src/test/java/org/eclipse/jetty/server/RequestTest.java index b4feb2f8bcb..341cd1caed9 100644 --- a/jetty-server/src/test/java/org/eclipse/jetty/server/RequestTest.java +++ b/jetty-server/src/test/java/org/eclipse/jetty/server/RequestTest.java @@ -592,7 +592,7 @@ public class RequestTest { // Should be "testä" // "test" followed by a LATIN SMALL LETTER A WITH DIAERESIS - request.setCharacterEncoding(StringUtil.__ISO_8859_1); + request.setCharacterEncoding(StandardCharsets.ISO_8859_1.name()); String actual = request.getParameter("name2"); return "test\u00e4".equals(actual); }