]> source.dussan.org Git - jgit.git/commitdiff
EGitPatchHistoryTest: Set input stream encoding with constant 44/118744/3
authorDavid Pursehouse <david.pursehouse@gmail.com>
Tue, 6 Mar 2018 04:34:31 +0000 (13:34 +0900)
committerDavid Pursehouse <david.pursehouse@gmail.com>
Tue, 6 Mar 2018 07:56:13 +0000 (16:56 +0900)
Change-Id: Ieff9b1d07704e37c8d5616b220b015855a7cc624
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
org.eclipse.jgit.test/exttst/org/eclipse/jgit/patch/EGitPatchHistoryTest.java

index 586505cfe81a1faa55895b83575e1e23c3046d4e..da997f98a178a07e2ff095e02851fd30210f082e 100644 (file)
@@ -203,7 +203,7 @@ public class EGitPatchHistoryTest {
 
                void read() throws IOException, InterruptedException {
                        final BufferedReader in = new BufferedReader(new InputStreamReader(
-                                       proc.getInputStream(), "ISO-8859-1"));
+                                       proc.getInputStream(), ISO_8859_1));
                        String commitId = null;
                        TemporaryBuffer buf = null;
                        for (;;) {