// Trace message
this.getLogger().trace(MessageFormat.format("columnName={0} - CALLED!", columnName)); //NOI18N
- // First all lower case
- String lower = columnName.toLowerCase();
-
- // Then split on "_"
- StringTokenizer tokenizer = new StringTokenizer(lower, "_"); //NOI18N
+ // Split on "_"
+ StringTokenizer tokenizer = new StringTokenizer(columnName, "_"); //NOI18N
// Resulting string
StringBuilder builder = new StringBuilder(tokenizer.countTokens());
// Search for proper field instance
for (final Field field : fields) {
// Is a dollar character there?
- if (field.getName().startsWith("$")) {
+ if (field.getName().startsWith("$")) { //NOI18N
// Debug message
- this.getLogger().debug("Field name " + field.getName() + " starts with a dollar, skipped.");
+ this.getLogger().debug(MessageFormat.format("Field name {0} starts with a dollar, skipped.", field.getName())); //NOI18N
// Skip this
continue;
}