diff options
author | David Pursehouse <david.pursehouse@gmail.com> | 2018-09-25 14:41:44 +0900 |
---|---|---|
committer | David Pursehouse <david.pursehouse@gmail.com> | 2018-09-26 08:31:13 +0900 |
commit | a7d3fa3064a9c4a7d380415774b2c31ead5672f2 (patch) | |
tree | 023370959ba9dc5e47a4523112f7fc37b75f73ec /org.eclipse.jgit.lfs.server.test/tst/org/eclipse/jgit | |
parent | ee40efcea44bc0c9a28afe29a80c87636947484e (diff) | |
download | jgit-a7d3fa3064a9c4a7d380415774b2c31ead5672f2.tar.gz jgit-a7d3fa3064a9c4a7d380415774b2c31ead5672f2.zip |
Explicitly specify charset in constructor of String
Change-Id: Ie9a9f917503019e7fa51ccbc11a5a3518b74434b
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'org.eclipse.jgit.lfs.server.test/tst/org/eclipse/jgit')
-rw-r--r-- | org.eclipse.jgit.lfs.server.test/tst/org/eclipse/jgit/lfs/server/fs/PushTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.jgit.lfs.server.test/tst/org/eclipse/jgit/lfs/server/fs/PushTest.java b/org.eclipse.jgit.lfs.server.test/tst/org/eclipse/jgit/lfs/server/fs/PushTest.java index b081a8ef73..4eb4a0da54 100644 --- a/org.eclipse.jgit.lfs.server.test/tst/org/eclipse/jgit/lfs/server/fs/PushTest.java +++ b/org.eclipse.jgit.lfs.server.test/tst/org/eclipse/jgit/lfs/server/fs/PushTest.java @@ -42,6 +42,7 @@ */ package org.eclipse.jgit.lfs.server.fs; +import static java.nio.charset.StandardCharsets.UTF_8; import static org.junit.Assert.assertEquals; import java.io.InputStream; @@ -149,7 +150,7 @@ public class PushTest extends LfsServerTest { new String(IO .readWholeStream(is, (int) ldr.getSize()) - .array())); + .array(), UTF_8)); } } |