Browse Source

[findBugs] Don't rely on default encoding

Change-Id: I9be2ffe95e8d716326ba63b67672741ac316f9a5
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
tags/v3.3.0.201402191814-rc1
Matthias Sohn 10 years ago
parent
commit
db1877628d

+ 1
- 1
org.eclipse.jgit.test/tst/org/eclipse/jgit/diff/DiffFormatterTest.java View File

@@ -328,7 +328,7 @@ public class DiffFormatterTest extends RepositoryTestCase {
df.format(oldTree, newTree);
df.flush();

String actual = os.toString();
String actual = os.toString("UTF-8");
String expected =
"diff --git a/folder/folder.txt b/folder/folder.txt\n"
+ "index 0119635..95c4c65 100644\n"

Loading…
Cancel
Save