X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjava%2Forg%2Fmxchange%2Fjjobs%2Fbeans%2Flocalization%2FJobsLocalizationSessionBean.java;h=2737bc22f4ed1d780e1c14ba36ad3fb22deb07cd;hb=401f4e980968567f4052626b1c83e3ef53baee4e;hp=132ec1cba50794d6c922bc9c335f9e40f2deb11c;hpb=6313662919a21533e334e951c33352095570a6c9;p=jjobs-war.git diff --git a/src/java/org/mxchange/jjobs/beans/localization/JobsLocalizationSessionBean.java b/src/java/org/mxchange/jjobs/beans/localization/JobsLocalizationSessionBean.java index 132ec1cb..2737bc22 100644 --- a/src/java/org/mxchange/jjobs/beans/localization/JobsLocalizationSessionBean.java +++ b/src/java/org/mxchange/jjobs/beans/localization/JobsLocalizationSessionBean.java @@ -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 - *

- * @return Locale - */ + @Override public Locale getLocale () { return this.locale; }