]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
Continued a bit:
authorRoland Häder <roland@mxchange.org>
Thu, 19 May 2016 15:30:30 +0000 (17:30 +0200)
committerRoland Haeder <roland@mxchange.org>
Sat, 21 May 2016 10:48:47 +0000 (12:48 +0200)
- call clear(), maybe better
- removed debug line

src/java/org/mxchange/pizzaapplication/beans/resendlink/PizzaResendLinkWebSessionBean.java

index e9de53bff1d567dc5a7000cd52a637e87df13774..435e28311b12d30510a64a686d0a0e306f0cbc71 100644 (file)
@@ -104,12 +104,12 @@ public class PizzaResendLinkWebSessionBean extends BasePizzaController implement
                // Get base URL
                String baseUrl = FacesUtils.generateBaseUrl();
 
-               // Debug message
-               System.out.println(MessageFormat.format("doResendLink: DEBUG - locale={0},baseUrl={1}", locale, baseUrl));
-
                // Call EJB and return redirect target
                String redirectTarget = this.emailBean.resendConfirmationLink(user, locale, baseUrl);
 
+               // Clear this bean
+               this.clear();
+
                // Return redirect target
                return redirectTarget;
        }