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>
This commit is contained in:
Matthias Sohn 2021-02-04 01:17:00 +01:00
parent 8ad53baa14
commit 083e6fd709
1 changed files with 1 additions and 0 deletions

View File

@ -241,6 +241,7 @@ public void testCompareToEquals() throws Exception {
}
@Test
@SuppressWarnings("SelfComparison")
public void testCompareToSame() throws Exception {
AnyLongObjectId id = LongObjectId.fromString(TEST_SHA256);
LfsPointer lfs = new LfsPointer(id, 4);