From: Roland Haeder Date: Fri, 23 Oct 2015 16:42:43 +0000 (+0200) Subject: other way is better for this kind X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ebcf16d0f1d0e919c03ff592813985249f43d0f3;p=jfinancials-war.git other way is better for this kind --- 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.