]> git.mxchange.org Git - addressbook-lib.git/commitdiff
internationalization
authorRoland Haeder <roland@mxchange.org>
Mon, 31 Aug 2015 07:49:09 +0000 (09:49 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 31 Aug 2015 07:49:09 +0000 (09:49 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/org/mxchange/addressbook/manager/contact/AddressbookContactManager.java

index 042e4dfec687136b91a76813aec5df87c98d88ef..6a99cc5e926a70d0b9ef8954d2d65cc0a624014e 100644 (file)
@@ -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);