jgit/org.eclipse.jgit.test
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
..
.settings Enable and fix "Statement unnecessarily nested within else clause" warnings 2019-10-17 10:20:14 +09:00
META-INF Replace ExpectedException which was deprecated in junit 4.13 2020-01-24 15:46:08 +09:00
exttst/org/eclipse/jgit Update EDL 1.0 license headers to new short SPDX compliant format 2020-01-04 01:10:05 +01:00
resources/org/eclipse/jgit/transport/ssh Apache MINA sshd client: test reading encrypted ed25519 keys 2019-05-06 15:22:08 +02:00
src/org/eclipse/jgit Update to Orbit I20200120214610 and JUnit to 4.13 2020-01-22 18:16:14 +01:00
tst/org/eclipse/jgit ErrorProne: Enable and fix UnusedException check 2020-01-27 14:40:08 +01:00
tst-rsrc Merge branch 'stable-5.4' 2019-08-20 00:16:11 +02:00
.classpath Apache MINA sshd client 2018-11-13 10:49:26 -08:00
.gitignore Fix test setup for Eclipse Photon and greater 2018-11-02 18:50:26 +01:00
.project Remove references to org.eclipse.jgit.java7 2016-08-05 11:22:27 +09:00
BUILD Replace ExpectedException which was deprecated in junit 4.13 2020-01-24 15:46:08 +09:00
build.properties Apache MINA sshd client 2018-11-13 10:49:26 -08:00
org.eclipse.jgit.core--All-Tests (Java 8) (de).launch Fixed few locale dependent pgm tests 2016-01-02 17:41:58 +01:00
org.eclipse.jgit.core--All-Tests (Java 8).launch Fix classpath of test launch configurations 2015-11-21 00:33:43 +01:00
org.eclipse.jgit.core--All-Tests.launch
org.eclipse.jgit.test-WalkEncryptionTest-Proxy.launch Adding AES Walk Encryption support in http://www.jets3t.org/ mode 2015-10-18 19:14:31 +00:00
org.eclipse.jgit.test-WalkEncryptionTest.launch Adding AES Walk Encryption support in http://www.jets3t.org/ mode 2015-10-18 19:14:31 +00:00
plugin.properties Fix bundle localization of Apache SSH bundle 2019-06-21 17:54:06 +02:00
pom.xml Replace ExpectedException which was deprecated in junit 4.13 2020-01-24 15:46:08 +09:00
tests.bzl Merge branch 'stable-5.3' into stable-5.4 2019-08-08 13:24:14 +02:00