From: Roland Haeder Date: Mon, 31 Aug 2015 07:49:09 +0000 (+0200) Subject: internationalization X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=db63ab3ec4592388e8c3e5568b5f1f82a9224f61;p=addressbook-lib.git internationalization Signed-off-by:Roland Häder --- diff --git a/src/org/mxchange/addressbook/manager/contact/AddressbookContactManager.java b/src/org/mxchange/addressbook/manager/contact/AddressbookContactManager.java index 042e4df..6a99cc5 100644 --- a/src/org/mxchange/addressbook/manager/contact/AddressbookContactManager.java +++ b/src/org/mxchange/addressbook/manager/contact/AddressbookContactManager.java @@ -600,18 +600,18 @@ public class AddressbookContactManager extends BaseManager implements Manageable @Override public Object getValueFromRowColumn (final int rowIndex, final int columnIndex) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException { // Trace message - this.getLogger().trace(MessageFormat.format("rowIndex={0},columnIndex={1} CALLED!", rowIndex, columnIndex)); + this.getLogger().trace(MessageFormat.format("rowIndex={0},columnIndex={1} CALLED!", rowIndex, columnIndex)); //NOI18N // Then get specific row from database which is a Contact instance Storable storeable = this.getFrontend().getStorableAtRow(rowIndex); // Debug message - this.getLogger().debug(MessageFormat.format("storeable={0}", storeable)); + this.getLogger().debug(MessageFormat.format("storeable={0}", storeable)); //NOI18N // It may return null if (null == storeable) { // Nothing found - this.getLogger().warn("contact is null - returning null ..."); + this.getLogger().warn("contact is null - returning null ..."); //NOI18N return null; } @@ -619,7 +619,7 @@ public class AddressbookContactManager extends BaseManager implements Manageable String columnName = this.getColumnName(columnIndex); // Debug message - this.getLogger().debug(MessageFormat.format("columnName={0}", columnName)); + this.getLogger().debug(MessageFormat.format("columnName={0}", columnName)); //NOI18N // Now get that column Object value = null; @@ -630,7 +630,7 @@ public class AddressbookContactManager extends BaseManager implements Manageable } // Trace message - this.getLogger().trace(MessageFormat.format("value={0} - EXIT!", value)); + this.getLogger().trace(MessageFormat.format("value={0} - EXIT!", value)); //NOI18N // Return it return value; @@ -745,16 +745,16 @@ public class AddressbookContactManager extends BaseManager implements Manageable this.getLogger().debug(MessageFormat.format("key={0}", key)); //NOI18N // Convert string to array based on delimiter '.' - String[] tokens = this.getArrayFromString(key, "."); + String[] tokens = this.getArrayFromString(key, "."); //NOI18N // Token array must contain 4 elements (AddressbookContactManager.columnName.foo.text) - assert(tokens.length == 4) : MessageFormat.format("Array tokens contains not 4 elements: {0}", Arrays.toString(tokens)); + assert(tokens.length == 4) : MessageFormat.format("Array tokens contains not 4 elements: {0}", Arrays.toString(tokens)); //NOI18N // Get pre-last element String columnName = tokens[tokens.length - 2]; // Debug message - this.getLogger().debug(MessageFormat.format("columnName={0} - adding ...", columnName)); + this.getLogger().debug(MessageFormat.format("columnName={0} - adding ...", columnName)); //NOI18N // So add it this.columnNames.add(columnName);