You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/10/02 17:08:44 UTC
[commons-bcel] 02/02: Use PMD convention for ignored exception name
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git
commit c33430c1a2640fb3d4b7d691731ed3ddacc7d927
Author: Gary David Gregory (Code signing key) <gg...@apache.org>
AuthorDate: Sun Oct 2 13:08:38 2022 -0400
Use PMD convention for ignored exception name
---
src/main/java/org/apache/bcel/util/ClassPath.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/bcel/util/ClassPath.java b/src/main/java/org/apache/bcel/util/ClassPath.java
index dd3cbca7..b782d585 100644
--- a/src/main/java/org/apache/bcel/util/ClassPath.java
+++ b/src/main/java/org/apache/bcel/util/ClassPath.java
@@ -698,7 +698,7 @@ public class ClassPath implements Closeable {
InputStream inputStream = null;
try {
inputStream = getClass().getClassLoader().getResourceAsStream(name + suffix); // may return null
- } catch (final Exception e) {
+ } catch (final Exception ignored) {
// ignored
}
if (inputStream != null) {