From d0626d30cdc05877e6dabda7917f3c762f0abef2 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Wed, 26 Aug 2015 13:34:05 +0200 Subject: [PATCH] =?utf8?q?Renamed=20method=20+=20converted=20colum=5Fname?= =?utf8?q?=20to=20fieldName=20;-)=20Signed-off-by:Roland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/org/mxchange/jcore/BaseFrameworkSystem.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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; -- 2.39.5