summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.http.test
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@gmail.com>2018-04-11 14:10:02 +0900
committerMatthias Sohn <matthias.sohn@sap.com>2018-04-11 03:12:16 -0400
commitec84767c338d255c149a59c8766c864b42eaa0f3 (patch)
treefa165859fb67cb1d611c751f67ac5482c09048b7 /org.eclipse.jgit.http.test
parentb0ac5f9c8907a4034612543a92eb465e88a9c6f2 (diff)
downloadjgit-ec84767c338d255c149a59c8766c864b42eaa0f3.tar.gz
jgit-ec84767c338d255c149a59c8766c864b42eaa0f3.zip
Use Constants.CHARACTER_ENCODING in tests
Change-Id: Iba9fc991aee54fcb8b0dc5e5841da24c2d54dfc2 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'org.eclipse.jgit.http.test')
-rw-r--r--org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java b/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java
index d8541aa13d..42db0fecde 100644
--- a/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java
+++ b/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java
@@ -266,7 +266,7 @@ public class SmartClientSmartServerTest extends HttpTestCase {
throws IOException, ServletException {
final HttpServletResponse r = (HttpServletResponse) response;
r.setContentType("text/plain");
- r.setCharacterEncoding("UTF-8");
+ r.setCharacterEncoding(Constants.CHARACTER_ENCODING);
try (PrintWriter w = r.getWriter()) {
w.print("OK");
}