commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1792843 - /commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/beanutils/DefaultBeanFactory.java
Date Thu, 27 Apr 2017 06:33:08 GMT
Author: ggregory
Date: Thu Apr 27 06:33:08 2017
New Revision: 1792843

URL: http://svn.apache.org/viewvc?rev=1792843&view=rev
Log:
[CONFIGURATION-666"] Add convenience ctor ConfigurationRuntimeException(String, Object...).

Modified:
    commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/beanutils/DefaultBeanFactory.java

Modified: commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/beanutils/DefaultBeanFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/beanutils/DefaultBeanFactory.java?rev=1792843&r1=1792842&r2=1792843&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/beanutils/DefaultBeanFactory.java
(original)
+++ commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/beanutils/DefaultBeanFactory.java
Thu Apr 27 06:33:08 2017
@@ -346,7 +346,7 @@ public class DefaultBeanFactory implemen
     private static ConfigurationRuntimeException constructorMatchingException(
             Class<?> beanClass, BeanDeclaration data, String msg)
     {
-        return new ConfigurationRuntimeException(String.format(FMT_CTOR_ERROR,
-                msg, beanClass.getName(), getConstructorArgs(data).toString()));
+        return new ConfigurationRuntimeException(FMT_CTOR_ERROR,
+                msg, beanClass.getName(), getConstructorArgs(data).toString());
     }
 }



Mime
View raw message