summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.test
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2014-02-18 09:23:13 +0100
committerMatthias Sohn <matthias.sohn@sap.com>2014-02-18 22:08:08 +0100
commit8fe327a8a1d03d508b878f21a8f0c60b401ff0b7 (patch)
treef7a8aebc98697501c0f44f7ed4836ad61fad8fff /org.eclipse.jgit.test
parentf2f24a304d7393f5d04c57db627890edae78768b (diff)
downloadjgit-8fe327a8a1d03d508b878f21a8f0c60b401ff0b7.tar.gz
jgit-8fe327a8a1d03d508b878f21a8f0c60b401ff0b7.zip
[findBugs] Don't call toString() on a string
Change-Id: I0b91ffd473e2f14623ddf409e4f0f342c8941e42 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.java2
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 145d899028..4436f6e785 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
@@ -337,7 +337,7 @@ public class DiffFormatterTest extends RepositoryTestCase {
+ "\\ No newline at end of file\n" + "+folder change\n"
+ "\\ No newline at end of file\n";
- assertEquals(expected.toString(), actual);
+ assertEquals(expected, actual);
}
private static String makeDiffHeader(String pathA, String pathB,