Browse Source

EGitPatchHistoryTest: Set input stream encoding with constant

Change-Id: Ieff9b1d07704e37c8d5616b220b015855a7cc624
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
stable-4.11
David Pursehouse 7 years ago
parent
commit
8d845ec549
  1. 2
      org.eclipse.jgit.test/exttst/org/eclipse/jgit/patch/EGitPatchHistoryTest.java

2
org.eclipse.jgit.test/exttst/org/eclipse/jgit/patch/EGitPatchHistoryTest.java

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

Loading…
Cancel
Save