]> git.mxchange.org Git - jjobs-war.git/blobdiff - src/java/org/mxchange/jjobs/beans/localization/JobsLocalizationSessionBean.java
Please cherry-pick:
[jjobs-war.git] / src / java / org / mxchange / jjobs / beans / localization / JobsLocalizationSessionBean.java
index 132ec1cba50794d6c922bc9c335f9e40f2deb11c..2737bc22f4ed1d780e1c14ba36ad3fb22deb07cd 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016, 2017 Roland Häder
+ * Copyright (C) 2016 - 2020 Free Software Foundation
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU Affero General Public License as
@@ -98,7 +98,7 @@ public class JobsLocalizationSessionBean extends BaseJobsBean implements JobsLoc
         * @param event Event instance
         */
        public void afterUserLoginEvent (@Observes final ObservableUserLoggedInEvent event) {
-               // event should not be null
+               // Event and contained entity instance should not be null
                if (null == event) {
                        // Throw NPE
                        throw new NullPointerException("event is null"); //NOI18N
@@ -129,7 +129,7 @@ public class JobsLocalizationSessionBean extends BaseJobsBean implements JobsLoc
         * @param event Event instance
         */
        public void afterUserLogoutEvent (@Observes final ObservableUserLogoutEvent event) {
-               // event should not be null
+               // Event and contained entity instance should not be null
                if (null == event) {
                        // Throw NPE
                        throw new NullPointerException("event is null"); //NOI18N
@@ -198,11 +198,7 @@ public class JobsLocalizationSessionBean extends BaseJobsBean implements JobsLoc
                return NUMBER_FORMAT.format(amount);
        }
 
-       /**
-        * Getter for locale
-        * <p>
-        * @return Locale
-        */
+       @Override
        public Locale getLocale () {
                return this.locale;
        }