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-configuration.git
The following commit(s) were added to refs/heads/master by this push:
new ffcf24b6 Use PMD convention for naming ignored exceptions
ffcf24b6 is described below
commit ffcf24b61cd987f974a08e0acc66c3a57ddc0942
Author: Gary Gregory <[email protected]>
AuthorDate: Thu Jun 16 18:58:28 2022 -0400
Use PMD convention for naming ignored exceptions
---
src/main/java/org/apache/commons/configuration2/io/FileUtils.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/configuration2/io/FileUtils.java
b/src/main/java/org/apache/commons/configuration2/io/FileUtils.java
index c70c1303..c39f6114 100644
--- a/src/main/java/org/apache/commons/configuration2/io/FileUtils.java
+++ b/src/main/java/org/apache/commons/configuration2/io/FileUtils.java
@@ -79,7 +79,7 @@ class FileUtils {
i += 3;
} while (i < n && url.charAt(i) == '%');
continue;
- } catch (final RuntimeException e) {
+ } catch (final RuntimeException ignored) {
// malformed percent-encoded octet, fall through and
// append characters literally
} finally {