Use Objects.checkIndex for boundary checking

1 job for use_objects_checkindex in 1 minute and 33 seconds (queued for 6 seconds)
latest
Name Stage Failure
failed
build Test

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.7.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1m 14s
31 actionable tasks: 31 executed
Cleaning up file based variables
ERROR: Job failed: exit code 1