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/06/16 22:50:31 UTC

[commons-configuration] branch master updated: Use PMD convention for naming ignored exceptions

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 54c52dc4 Use PMD convention for naming ignored exceptions
54c52dc4 is described below

commit 54c52dc40ecedc4d3a8353ffa7d61129e615e1cd
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Jun 16 18:50:25 2022 -0400

    Use PMD convention for naming ignored exceptions
---
 .../java/org/apache/commons/configuration2/PropertiesConfiguration.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/configuration2/PropertiesConfiguration.java b/src/main/java/org/apache/commons/configuration2/PropertiesConfiguration.java
index b83e9a94..6bd3e83f 100644
--- a/src/main/java/org/apache/commons/configuration2/PropertiesConfiguration.java
+++ b/src/main/java/org/apache/commons/configuration2/PropertiesConfiguration.java
@@ -955,7 +955,7 @@ public class PropertiesConfiguration extends BaseConfiguration implements FileBa
                 if (forceSingleLine) {
                     try {
                         v = String.valueOf(getDelimiterHandler().escapeList(values, valueTransformer));
-                    } catch (final UnsupportedOperationException uoex) {
+                    } catch (final UnsupportedOperationException ignored) {
                         // the handler may not support escaping lists,
                         // then the list is written in multiple lines
                     }