From ebcf16d0f1d0e919c03ff592813985249f43d0f3 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Fri, 23 Oct 2015 18:42:43 +0200 Subject: [PATCH] other way is better for this kind --- .../addressbook/beans/profile/UserProfileWebRequestBean.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/mxchange/addressbook/beans/profile/UserProfileWebRequestBean.java b/src/java/org/mxchange/addressbook/beans/profile/UserProfileWebRequestBean.java index 24ff1a1b..aefe771b 100644 --- a/src/java/org/mxchange/addressbook/beans/profile/UserProfileWebRequestBean.java +++ b/src/java/org/mxchange/addressbook/beans/profile/UserProfileWebRequestBean.java @@ -71,7 +71,7 @@ public class UserProfileWebRequestBean implements UserProfileWebRequestControlle @Override public boolean isProfileLinkVisible () { // Check on user - if (null == this.getUser()) { + if (this.getUser() == null) { /* * Not set, means wrong invocation of this method as the user * instance needs to be set first. -- 2.39.5