jgit/org.eclipse.jgit.lfs
David Ostrovsky 3e2ec7e5e8 Fix BadComparable error flagged by error prone
Running recent error prone version complaining on that code:

LfsPointer.java:171: error: [BadComparable] Possible sign flip from
narrowing conversion
		return (int) (getSize() - o.getSize());
		       ^
    (see https://errorprone.info/bugpattern/BadComparable)
  Did you mean 'return Long.compare(getSize(), o.getSize());'?

Bug: 562756
Change-Id: I0522f1025319a9290c448a064fbafdb4b16d1d59
Signed-off-by: David Ostrovsky <david@ostrovsky.org>
2020-06-01 18:56:32 -04:00
..
.settings Enable and fix "Statement unnecessarily nested within else clause" warnings 2019-10-17 10:20:14 +09:00
META-INF Prepare 5.8.0-SNAPSHOT builds 2020-03-09 22:47:10 +01:00
resources/org/eclipse/jgit/lfs/internal Propagate failure of ssh command to caller of SshSupport 2018-06-13 11:24:24 +02:00
src/org/eclipse/jgit/lfs Fix BadComparable error flagged by error prone 2020-06-01 18:56:32 -04:00
.classpath Change JGit minimum execution environment to JavaSE-1.8 2016-09-20 11:32:36 +02:00
.fbprefs Implement SHA-256 abstraction 2016-02-04 17:49:42 +01:00
.gitignore Implement SHA-256 abstraction 2016-02-04 17:49:42 +01:00
.project Implement SHA-256 abstraction 2016-02-04 17:49:42 +01:00
BUILD Bazel: Add fixes for --incompatible_load_java_rules_from_bzl 2019-09-07 15:36:11 +09:00
about.html Implement SHA-256 abstraction 2016-02-04 17:49:42 +01:00
build.properties Implement SHA-256 abstraction 2016-02-04 17:49:42 +01:00
plugin.properties Fix bundle localization of Apache SSH bundle 2019-06-21 17:54:06 +02:00
pom.xml Prepare 5.8.0-SNAPSHOT builds 2020-03-09 22:47:10 +01:00