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> |
преди 4 години | |
---|---|---|
.. | ||
internal | Update EDL 1.0 license headers to new short SPDX compliant format | преди 4 години |
ManifestParser.java | ErrorProne: Enable and fix UnusedException check | преди 4 години |
RepoCommand.java | ErrorProne: Enable and fix UnusedException check | преди 4 години |
RepoProject.java | Update EDL 1.0 license headers to new short SPDX compliant format | преди 4 години |