jgit/org.eclipse.jgit
Matthias Sohn 916200e278 [errorprone] Fix wrong comparison which always evaluated to false
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/commitgraph/GraphObjectIndex.java:59:
error: [ComparisonOutOfRange] ints may have a value in the range
-2147483648 to 2147483647; therefore, this comparison to
Integer.MAX_VALUE will always evaluate to false
			if (table[k] > Integer.MAX_VALUE) {
			             ^

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

We need to check if variable `uint` of type `long` exceeds the maximum
possible int value before casting it to `int` below.

This was introduced in Ib5c0d6678cb242870a0f5841bd413ad3885e95f6

Change-Id: I675d594f523084be4c1678328cc343065e32d998
2023-09-15 12:12:25 +02:00
..
.settings Remove unused API problem filters 2023-09-05 14:10:30 +02:00
META-INF Use ShutdownHook to gracefully handle JVM shutdown 2023-09-12 22:43:15 +02:00
OSGI-INF/l10n OSGi: move plugin localization to subdirectory 2023-09-12 20:27:59 +02:00
findBugs [spotbugs] Silence NP_BOOLEAN_RETURN_NULL in IgnoreNode#checkIgnored 2020-12-22 10:52:59 +01:00
resources/org/eclipse/jgit Add ShutdownHook to cleanup FileLocks on graceful JVM shutdown 2023-09-12 22:43:15 +02:00
src/org/eclipse/jgit [errorprone] Fix wrong comparison which always evaluated to false 2023-09-15 12:12:25 +02:00
.classpath Bump minimum required Java version to 11 2021-09-29 17:12:12 +02:00
.fbprefs
.gitignore
.project
BUILD CommitGraphWriter: write changed-path filters 2023-07-18 14:21:48 -07:00
about.html
build.properties OSGi: move plugin localization to subdirectory 2023-09-12 20:27:59 +02:00
pom.xml Prepare 6.8.0-SNAPSHOT builds 2023-09-07 02:24:53 +02:00