From f1c086f692cb1e53a075af16ae662f150443682e Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Sun, 10 Nov 2013 00:28:22 +0100 Subject: [findBugs] Remove nonsense call Result of c.containsAll(c) is always true for any collection c. Change-Id: I853cbb44bdc03e2b54229bb9c36ae42e02dcc4d9 Signed-off-by: Matthias Sohn --- org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/RevFlagSetTest.java | 1 - 1 file changed, 1 deletion(-) diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/RevFlagSetTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/RevFlagSetTest.java index 1eebb5002d..154fcdfee4 100644 --- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/RevFlagSetTest.java +++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/RevFlagSetTest.java @@ -103,7 +103,6 @@ public class RevFlagSetTest extends RevWalkTestCase { assertTrue(set1.add(flag1)); assertTrue(set1.add(flag2)); - assertTrue(set1.containsAll(set1)); assertTrue(set1.containsAll(Arrays .asList(new RevFlag[] { flag1, flag2 }))); -- cgit v1.2.3