summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.lfs.test
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2021-02-04 01:17:00 +0100
committerMatthias Sohn <matthias.sohn@sap.com>2021-02-04 01:19:42 +0100
commit083e6fd70955ed4961c7b009d8d77ce891b8e42a (patch)
tree7ddfac1331a3780b7967f743e6fd69c7c8139a95 /org.eclipse.jgit.lfs.test
parent8ad53baa1486b0ae1b8b52a99bfe56240074ca7e (diff)
downloadjgit-083e6fd70955ed4961c7b009d8d77ce891b8e42a.tar.gz
jgit-083e6fd70955ed4961c7b009d8d77ce891b8e42a.zip
LFSPointerTest: suppress errorprone error [SelfComparison]
The test #testCompareToSame tests comparing against self intentionally. Suppress the error raised by errorprone. Change-Id: If8d70a51ab34ffb6d7f0c9d409746aee8b031408 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.lfs.test')
-rw-r--r--org.eclipse.jgit.lfs.test/tst/org/eclipse/jgit/lfs/lib/LFSPointerTest.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit.lfs.test/tst/org/eclipse/jgit/lfs/lib/LFSPointerTest.java b/org.eclipse.jgit.lfs.test/tst/org/eclipse/jgit/lfs/lib/LFSPointerTest.java
index fd83ff19e0..da78b28d90 100644
--- a/org.eclipse.jgit.lfs.test/tst/org/eclipse/jgit/lfs/lib/LFSPointerTest.java
+++ b/org.eclipse.jgit.lfs.test/tst/org/eclipse/jgit/lfs/lib/LFSPointerTest.java
@@ -241,6 +241,7 @@ public class LFSPointerTest {
}
@Test
+ @SuppressWarnings("SelfComparison")
public void testCompareToSame() throws Exception {
AnyLongObjectId id = LongObjectId.fromString(TEST_SHA256);
LfsPointer lfs = new LfsPointer(id, 4);