From: Roland Haeder Date: Sat, 12 Mar 2016 17:40:09 +0000 (+0100) Subject: Continued a bit: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a930eebaf80ac18a5c66d36760cbdf0e4d9483d3;p=addressbook-war.git Continued a bit: - EJB calls can be saved by letting the EJB create the hash as it needs to check for its usage anyway. - updated jar(s) --- diff --git a/lib/juser-core.jar b/lib/juser-core.jar index 8ce84feb..a9550a8d 100644 Binary files a/lib/juser-core.jar and b/lib/juser-core.jar differ diff --git a/src/java/org/mxchange/addressbook/beans/email_address/EmailChangeWebSessionBean.java b/src/java/org/mxchange/addressbook/beans/email_address/EmailChangeWebSessionBean.java index afce8835..aadf4ba3 100644 --- a/src/java/org/mxchange/addressbook/beans/email_address/EmailChangeWebSessionBean.java +++ b/src/java/org/mxchange/addressbook/beans/email_address/EmailChangeWebSessionBean.java @@ -129,7 +129,7 @@ public class EmailChangeWebSessionBean implements EmailChangeWebSessionControlle return "login_email_already_added"; //NOI18N } - // Create change object + // Create change object, to save EJB calls, the hash is not generated here ChangeableEmailAddress emailAddress = new EmailAddressChange(user, this.getEmailAddress1(), new GregorianCalendar()); // Call EJB