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 a52965c12 Use new API
ConfigurationException.ConfigurationException(String, Object...)
a52965c12 is described below
commit a52965c128ba53a3fb31e1f925ac1233fb35bcc3
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Apr 3 08:20:57 2026 -0400
Use new API ConfigurationException.ConfigurationException(String,
Object...)
---
.../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 68a39e42b..776554f43 100644
---
a/src/main/java/org/apache/commons/configuration2/PropertiesConfiguration.java
+++
b/src/main/java/org/apache/commons/configuration2/PropertiesConfiguration.java
@@ -1414,7 +1414,7 @@ public class PropertiesConfiguration extends
BaseConfiguration implements FileBa
try {
// Check for cycles
if (seenStack.contains(url)) {
- throw new ConfigurationException(String.format("Cycle
detected loading %s, seen stack: %s", url, seenStack));
+ throw new ConfigurationException("Cycle detected
loading %s, seen stack: %s", url, seenStack);
}
seenStack.add(url);
try {