]> git.mxchange.org Git - jfinancials-war.git/commitdiff
sorted members
authorRoland Haeder <roland@mxchange.org>
Mon, 15 Feb 2016 19:12:19 +0000 (20:12 +0100)
committerRoland Haeder <roland@mxchange.org>
Mon, 15 Feb 2016 19:12:19 +0000 (20:12 +0100)
src/java/org/mxchange/addressbook/beans/login/UserLoginWebSessionBean.java

index d8932a742b040f7a9b92f6bb34a09bcd57e914f1..314285e42d90bebcf81eb95f06d2eb75142e6f0b 100644 (file)
@@ -158,6 +158,18 @@ public class UserLoginWebSessionBean implements UserLoginWebSessionController {
                return (!this.isUserLoggedIn());
        }
 
+       @Override
+       public boolean isInvisible () {
+               // Check on login
+               if (!this.isUserLoggedIn()) {
+                       // Not logged in!
+                       throw new IllegalStateException("isInvisible() has been invoked for a guest."); //NOI18N
+               }
+
+               // Check logged-in first, then invisibility
+               return this.getLoggedInUser().getUserProfileMode().equals(ProfileMode.INVISIBLE);
+       }
+
        @Override
        public boolean isUserLoggedIn () {
                // Trace message
@@ -172,16 +184,4 @@ public class UserLoginWebSessionBean implements UserLoginWebSessionController {
                // Return it
                return this.userLoggedIn;
        }
-
-       @Override
-       public boolean isInvisible () {
-               // Check on login
-               if (!this.isUserLoggedIn()) {
-                       // Not logged in!
-                       throw new IllegalStateException("isInvisible() has been invoked for a guest."); //NOI18N
-               }
-
-               // Check logged-in first, then invisibility
-               return this.getLoggedInUser().getUserProfileMode().equals(ProfileMode.INVISIBLE);
-       }
 }