Browse Source

[findBugs] Don't call toString() on a string

Change-Id: I0b91ffd473e2f14623ddf409e4f0f342c8941e42
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
stable-3.3
Matthias Sohn 11 years ago
parent
commit
8fe327a8a1
  1. 2
      org.eclipse.jgit.test/tst/org/eclipse/jgit/diff/DiffFormatterTest.java

2
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,

Loading…
Cancel
Save