diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2014-02-18 09:24:30 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2014-02-18 22:08:08 +0100 |
commit | db1877628d9846d4716598c1d1af7c76cb3bdb79 (patch) | |
tree | 60f3ad09bc85d82a823c4080efaf9988a509792c /org.eclipse.jgit.test | |
parent | 8fe327a8a1d03d508b878f21a8f0c60b401ff0b7 (diff) | |
download | jgit-db1877628d9846d4716598c1d1af7c76cb3bdb79.tar.gz jgit-db1877628d9846d4716598c1d1af7c76cb3bdb79.zip |
[findBugs] Don't rely on default encoding
Change-Id: I9be2ffe95e8d716326ba63b67672741ac316f9a5
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.test')
-rw-r--r-- | org.eclipse.jgit.test/tst/org/eclipse/jgit/diff/DiffFormatterTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/diff/DiffFormatterTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/diff/DiffFormatterTest.java index 4436f6e785..4408d7bb35 100644 --- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/diff/DiffFormatterTest.java +++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/diff/DiffFormatterTest.java @@ -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" |