]> git.mxchange.org Git - jcore.git/commitdiff
Log also column name as an NPE came from here
authorRoland Haeder <roland@mxchange.org>
Wed, 26 Aug 2015 11:23:50 +0000 (13:23 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 26 Aug 2015 11:23:50 +0000 (13:23 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/org/mxchange/jcore/BaseFrameworkSystem.java

index fe79566e3994380a444406e59e6a5b5ce6f42205..4fc1d7227c1013c6d96e037e44d709b7cb692a1e 100644 (file)
@@ -1148,12 +1148,12 @@ public class BaseFrameworkSystem implements FrameworkInterface {
                Field[] fields = this.getClassFromTarget(instance, targetClass).getDeclaredFields();
 
                // Debug message
-               this.getLogger().debug("fields()=" + fields.length); //NOI18N
+               this.getLogger().debug(MessageFormat.format("fields()={0}", fields.length)); //NOI18N
 
                // Search for proper field instance
                for (final Field field : fields) {
                        // Debug message
-                       this.getLogger().debug("field=" + field); //NOI18N
+                       this.getLogger().debug(MessageFormat.format("field={0},columnName={1}", field, columnName)); //NOI18N
 
                        // Does it match?
                        if (field.getName().equals(columnName)) {