jgit/tools
David Pursehouse 4cc13297cc ErrorProne: Enable and fix UnusedException check
Enable UnusedException at ERROR level which causes the build to fail
in many places with:

  [UnusedException] This catch block catches an symbol and re-throws
  another, but swallows the caught symbol rather than setting it as a
  cause. This can make debugging harder.

Fix it by setting the caught exception as cause on the subsequently
thrown exception.

Note: The grammatically incorrect error message is copy-pasted as-is
from the version of ErrorProne currently used in Bazel; it has been
fixed by [1] in the latest version.

[1] https://github.com/google/error-prone/commit/d57a39c

Change-Id: I11ed38243091fc12f64f1b2db404ba3f1d2e98b5
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2020-01-27 14:40:08 +01:00
..
bzl Bazel: Use java_plugin and java_binary from @rules_java in jmh.bzl 2019-11-26 08:43:34 +01:00
maven-central Add new ssh bundles to Maven central scripts 2018-12-09 00:12:59 +01:00
BUILD ErrorProne: Enable and fix UnusedException check 2020-01-27 14:40:08 +01:00
FILE_HEADER Update EDL 1.0 license headers to new short SPDX compliant format 2020-01-04 01:10:05 +01:00
bazelisk_version.bzl Bazel: Reuse version from .bazelversion for minimum used version check 2019-09-23 09:23:21 +02:00
bazlets.bzl Bazel: Stop using native.git_repository 2019-03-03 13:15:19 +09:00
default.defs Implement Buck driven build 2015-12-31 10:08:55 -08:00
eclipse-JGit-Format.xml Change JGit minimum execution environment to JavaSE-1.8 2016-09-20 11:32:36 +02:00
git.defs buck: set Bundle-Version for :jgit_bin 2016-01-03 09:30:16 -08:00
graft-old-history.sh Utility to graft old JGit history onto repository 2009-09-29 17:03:34 -07:00
release.sh Run Maven build in release.sh concurrently to speedup release 2016-05-04 17:34:35 +02:00
version.sh [releng] Fix dependencies between features 2019-03-31 01:13:53 +01:00