From: Roland Haeder Date: Wed, 26 Aug 2015 11:34:05 +0000 (+0200) Subject: Renamed method + converted colum_name to fieldName ;-) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d0626d30cdc05877e6dabda7917f3c762f0abef2;p=jcore.git Renamed method + converted colum_name to fieldName ;-) Signed-off-by:Roland Häder --- diff --git a/src/org/mxchange/jcore/BaseFrameworkSystem.java b/src/org/mxchange/jcore/BaseFrameworkSystem.java index 4fc1d72..dd7231b 100644 --- a/src/org/mxchange/jcore/BaseFrameworkSystem.java +++ b/src/org/mxchange/jcore/BaseFrameworkSystem.java @@ -406,7 +406,7 @@ public class BaseFrameworkSystem implements FrameworkInterface { * @param columnName Column name to convert * @return Attribute name */ - protected String convertColumnNameToAttribute (final String columnName) { + protected String convertColumnNameToFieldName (final String columnName) { // Trace message this.getLogger().trace(MessageFormat.format("columnName={0} - CALLED!", columnName)); //NOI18N @@ -1150,13 +1150,16 @@ public class BaseFrameworkSystem implements FrameworkInterface { // Debug message this.getLogger().debug(MessageFormat.format("fields()={0}", fields.length)); //NOI18N + // Convert column_name to fieldName ;-) + String fieldName = this.convertColumnNameToFieldName(columnName); + // Search for proper field instance for (final Field field : fields) { // Debug message - this.getLogger().debug(MessageFormat.format("field={0},columnName={1}", field, columnName)); //NOI18N + this.getLogger().debug(MessageFormat.format("field={0},fieldName={1}", field, fieldName)); //NOI18N // Does it match? - if (field.getName().equals(columnName)) { + if (field.getName().equals(fieldName)) { // Found it type = field.getType(); break;