]> git.mxchange.org Git - addressbook-war.git/commitdiff
other way is better for this kind
authorRoland Haeder <roland@mxchange.org>
Fri, 23 Oct 2015 16:42:43 +0000 (18:42 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 23 Oct 2015 16:42:43 +0000 (18:42 +0200)
src/java/org/mxchange/addressbook/beans/profile/UserProfileWebRequestBean.java

index 24ff1a1b187cf69da8bbcab4f5d83a739b74b3f9..aefe771bd3fb6fbaf88e274dd4dd84421e127ab0 100644 (file)
@@ -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.