From fa66cb2225c36805416e3819e32a9132a7cb9f0e Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sat, 17 Oct 2015 20:56:46 +0200 Subject: [PATCH] ignored for i18n --- .../addressbook/beans/profile/UserProfileWebBean.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/java/org/mxchange/addressbook/beans/profile/UserProfileWebBean.java b/src/java/org/mxchange/addressbook/beans/profile/UserProfileWebBean.java index c9e6e3ba..eb7923f0 100644 --- a/src/java/org/mxchange/addressbook/beans/profile/UserProfileWebBean.java +++ b/src/java/org/mxchange/addressbook/beans/profile/UserProfileWebBean.java @@ -73,16 +73,16 @@ public class UserProfileWebBean implements UserProfileWebController { // Check on user if (null == user) { // Throw NPE - throw new NullPointerException("user is null"); + throw new NullPointerException("user is null"); //NOI18N } else if (user.getUserId() == null) { // Throw NPE again - throw new NullPointerException("user.userId is null"); + throw new NullPointerException("user.userId is null"); //NOI18N } else if (user.getUserId() < 1) { // Invalid id - throw new IllegalArgumentException(MessageFormat.format("user.userId={0} is invalid", user.getUserId())); + throw new IllegalArgumentException(MessageFormat.format("user.userId={0} is invalid", user.getUserId())); //NOI18N } else if (user.getUserProfileMode() == null) { // And another NPE ... - throw new NullPointerException("user.userProfileMode is null"); + throw new NullPointerException("user.userProfileMode is null"); //NOI18N } // Default profile mode is not visible -- 2.39.5