From: Roland Häder Date: Mon, 2 May 2016 14:22:53 +0000 (+0200) Subject: ignored for i18n X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2a88ae07b980089ff98c76d5a673f643349ed4da;p=jbonuscard-core.git ignored for i18n Signed-off-by: Roland Häder --- diff --git a/src/org/mxchange/addressbook/database/BaseAddressbookDatabaseBean.java b/src/org/mxchange/addressbook/database/BaseAddressbookDatabaseBean.java index 681638b..9be914e 100644 --- a/src/org/mxchange/addressbook/database/BaseAddressbookDatabaseBean.java +++ b/src/org/mxchange/addressbook/database/BaseAddressbookDatabaseBean.java @@ -110,25 +110,25 @@ public abstract class BaseAddressbookDatabaseBean extends BaseDatabaseBean { */ protected DialableCellphoneNumber getDetached (final DialableCellphoneNumber cellphoneNumber, final DialableCellphoneNumber fetchedNumber) { // Trace message - this.getLoggerBeanLocal().logTrace(MessageFormat.format("getDetached: cellphoneNumber={0},fetchedNumber={1} - CALLED!", cellphoneNumber, fetchedNumber)); + this.getLoggerBeanLocal().logTrace(MessageFormat.format("getDetached: cellphoneNumber={0},fetchedNumber={1} - CALLED!", cellphoneNumber, fetchedNumber)); //NOI18N // Should be valid if (null == cellphoneNumber) { // Throw NPE - throw new NullPointerException("cellphoneNumber is null"); + throw new NullPointerException("cellphoneNumber is null"); //NOI18N } else if (fetchedNumber.getPhoneId() == null) { // ..and again - throw new NullPointerException("fetchedNumber.phoneId is null"); + throw new NullPointerException("fetchedNumber.phoneId is null"); //NOI18N } // Debug message - this.getLoggerBeanLocal().logDebug(MessageFormat.format("getDetached: fetchedNumber.phoneId={0}", fetchedNumber.getPhoneId())); + this.getLoggerBeanLocal().logDebug(MessageFormat.format("getDetached: fetchedNumber.phoneId={0}", fetchedNumber.getPhoneId())); //NOI18N // Init query instance DialableCellphoneNumber foundNumber = this.getEntityManager().find(fetchedNumber.getClass(), fetchedNumber.getPhoneId()); // Debug message - this.getLoggerBeanLocal().logDebug(MessageFormat.format("getDetached: foundNumber={0}", foundNumber)); + this.getLoggerBeanLocal().logDebug(MessageFormat.format("getDetached: foundNumber={0}", foundNumber)); //NOI18N // Default is null DialableCellphoneNumber detachedNumber = null; @@ -142,7 +142,7 @@ public abstract class BaseAddressbookDatabaseBean extends BaseDatabaseBean { } // Trace message - this.getLoggerBeanLocal().logTrace(MessageFormat.format("getDetached: detachedNumber={0} - EXIT!", detachedNumber)); + this.getLoggerBeanLocal().logTrace(MessageFormat.format("getDetached: detachedNumber={0} - EXIT!", detachedNumber)); //NOI18N // Return it return detachedNumber; @@ -158,25 +158,25 @@ public abstract class BaseAddressbookDatabaseBean extends BaseDatabaseBean { */ protected DialableLandLineNumber getDetached (final DialableLandLineNumber landLineNumber, final DialableLandLineNumber fetchedNumber) { // Trace message - this.getLoggerBeanLocal().logTrace(MessageFormat.format("getDetached: landLineNumber={0},fetchedNumber={1} - CALLED!", landLineNumber, fetchedNumber)); + this.getLoggerBeanLocal().logTrace(MessageFormat.format("getDetached: landLineNumber={0},fetchedNumber={1} - CALLED!", landLineNumber, fetchedNumber)); //NOI18N // Should be valid if (null == landLineNumber) { // Throw NPE - throw new NullPointerException("landLineNumber is null"); + throw new NullPointerException("landLineNumber is null"); //NOI18N } else if (fetchedNumber.getPhoneId() == null) { // ..and again - throw new NullPointerException("landLineNumber.phoneId is null"); + throw new NullPointerException("landLineNumber.phoneId is null"); //NOI18N } // Debug message - this.getLoggerBeanLocal().logDebug(MessageFormat.format("getDetached: fetchedNumber.phoneId={0}", fetchedNumber.getPhoneId())); + this.getLoggerBeanLocal().logDebug(MessageFormat.format("getDetached: fetchedNumber.phoneId={0}", fetchedNumber.getPhoneId())); //NOI18N // Init query instance DialableLandLineNumber foundNumber = this.getEntityManager().find(fetchedNumber.getClass(), fetchedNumber.getPhoneId()); // Debug message - this.getLoggerBeanLocal().logDebug(MessageFormat.format("getDetached: foundNumber={0}", foundNumber)); + this.getLoggerBeanLocal().logDebug(MessageFormat.format("getDetached: foundNumber={0}", foundNumber)); //NOI18N // Default is null DialableLandLineNumber detachedNumber = null; @@ -188,7 +188,7 @@ public abstract class BaseAddressbookDatabaseBean extends BaseDatabaseBean { } // Trace message - this.getLoggerBeanLocal().logTrace(MessageFormat.format("getDetached: detachedNumber={0} - EXIT!", detachedNumber)); + this.getLoggerBeanLocal().logTrace(MessageFormat.format("getDetached: detachedNumber={0} - EXIT!", detachedNumber)); //NOI18N // Return it return detachedNumber; @@ -204,25 +204,25 @@ public abstract class BaseAddressbookDatabaseBean extends BaseDatabaseBean { */ protected DialableFaxNumber getDetached (final DialableFaxNumber faxNumber, final DialableFaxNumber fetchedNumber) { // Trace message - this.getLoggerBeanLocal().logTrace(MessageFormat.format("getDetached: faxNumber={0},fetchedNumber={1} - CALLED!", faxNumber, fetchedNumber)); + this.getLoggerBeanLocal().logTrace(MessageFormat.format("getDetached: faxNumber={0},fetchedNumber={1} - CALLED!", faxNumber, fetchedNumber)); //NOI18N // Should be valid if (null == faxNumber) { // Throw NPE - throw new NullPointerException("faxNumber is null"); + throw new NullPointerException("faxNumber is null"); //NOI18N } else if (fetchedNumber.getPhoneId() == null) { // ..and again - throw new NullPointerException("fetchedNumber.phoneId is null"); + throw new NullPointerException("fetchedNumber.phoneId is null"); //NOI18N } // Debug message - this.getLoggerBeanLocal().logDebug(MessageFormat.format("getDetached: fetchedNumber.phoneId={0}", fetchedNumber.getPhoneId())); + this.getLoggerBeanLocal().logDebug(MessageFormat.format("getDetached: fetchedNumber.phoneId={0}", fetchedNumber.getPhoneId())); //NOI18N // Init query instance DialableFaxNumber foundNumber = this.getEntityManager().find(fetchedNumber.getClass(), fetchedNumber.getPhoneId()); // Debug message - this.getLoggerBeanLocal().logDebug(MessageFormat.format("getDetached: foundNumber={0}", foundNumber)); + this.getLoggerBeanLocal().logDebug(MessageFormat.format("getDetached: foundNumber={0}", foundNumber)); //NOI18N // Default is null DialableFaxNumber detachedNumber = null; @@ -234,7 +234,7 @@ public abstract class BaseAddressbookDatabaseBean extends BaseDatabaseBean { } // Trace message - this.getLoggerBeanLocal().logTrace(MessageFormat.format("getDetached: detachedNumber={0} - EXIT!", detachedNumber)); + this.getLoggerBeanLocal().logTrace(MessageFormat.format("getDetached: detachedNumber={0} - EXIT!", detachedNumber)); //NOI18N // Return it return detachedNumber;