]> source.dussan.org Git - jgit.git/commitdiff
[findBugs] Don't call toString() on a string 35/22135/2
authorMatthias Sohn <matthias.sohn@sap.com>
Tue, 18 Feb 2014 08:23:13 +0000 (09:23 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Tue, 18 Feb 2014 21:08:08 +0000 (22:08 +0100)
Change-Id: I0b91ffd473e2f14623ddf409e4f0f342c8941e42
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/diff/DiffFormatterTest.java

index 145d899028a0b1072807c11a3060793a721fd702..4436f6e785a29fc6e1fe5f30d1667685ed80ae3a 100644 (file)
@@ -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,