]> source.dussan.org Git - jgit.git/commit
[error prone] suppress AmbiguousMethodReference in AnyLongObjectId 44/147344/1
authorDavid Pursehouse <david.pursehouse@gmail.com>
Fri, 9 Aug 2019 07:06:28 +0000 (16:06 +0900)
committerDavid Pursehouse <david.pursehouse@gmail.com>
Fri, 9 Aug 2019 07:09:04 +0000 (16:09 +0900)
commit13df53c149cc467766514d4ac86c9d26a0287b7a
treedf936876d1d2cf183aa4ee55a2e1253ce5413339
parent4b9ed3f678b6256082bf5408e7335b885cc114aa
[error prone] suppress AmbiguousMethodReference in AnyLongObjectId

Move the implementation of the static equals() method to a new method
and suppress the error. Deprecate the old method to signal that we
intend to remove it in the next major release.

See https://errorprone.info/bugpattern/AmbiguousMethodReference

Change-Id: I712697a411ab44c6e05ae4604eb2dcb9c0f8abd3
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/lib/AnyLongObjectId.java