Skip to content

Commit a52965c

Browse files
committed
Use new API ConfigurationException.ConfigurationException(String,
Object...)
1 parent 04171a1 commit a52965c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/apache/commons/configuration2/PropertiesConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1414,7 +1414,7 @@ private void loadIncludeFile(final String fileName, final boolean optional, fina
14141414
try {
14151415
// Check for cycles
14161416
if (seenStack.contains(url)) {
1417-
throw new ConfigurationException(String.format("Cycle detected loading %s, seen stack: %s", url, seenStack));
1417+
throw new ConfigurationException("Cycle detected loading %s, seen stack: %s", url, seenStack);
14181418
}
14191419
seenStack.add(url);
14201420
try {

0 commit comments

Comments
 (0)