]> source.dussan.org Git - jgit.git/commit
LongObjectIdTest: Remove self comparison test 45/93345/1
authorDavid Ostrovsky <david@ostrovsky.org>
Sat, 18 Mar 2017 15:20:40 +0000 (16:20 +0100)
committerDavid Ostrovsky <david@ostrovsky.org>
Sat, 18 Mar 2017 15:47:35 +0000 (16:47 +0100)
commit4886621261c3b5fa2d9c75fd72d19ac186c9f970
tree7300d85ce9add6f50d3bdfff9d33e78a1672477a
parent9b4f1913fb97e5d6bced122b832a9f40e2316bb0
LongObjectIdTest: Remove self comparison test

This fixes test flagged by error prone:

LongObjectIdTest.java:294: error: [SelfComparison] An object is
compared to itself

assertEquals(0, id1.compareTo(id1));

Change-Id: Ife339c92b9570db2471a2fc029b3bfa114044790
Signed-off-by: David Ostrovsky <david@ostrovsky.org>
org.eclipse.jgit.lfs.test/tst/org/eclipse/jgit/lfs/lib/LongObjectIdTest.java