[seam-commits] Seam SVN: r13197 - examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/account.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Wed Jun 16 17:16:21 EDT 2010
Author: dan.j.allen
Date: 2010-06-16 17:16:21 -0400 (Wed, 16 Jun 2010)
New Revision: 13197
Modified:
examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/account/PasswordConfirmValidator.java
Log:
present tense message
Modified: examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/account/PasswordConfirmValidator.java
===================================================================
--- examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/account/PasswordConfirmValidator.java 2010-06-16 21:16:03 UTC (rev 13196)
+++ examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/account/PasswordConfirmValidator.java 2010-06-16 21:16:21 UTC (rev 13197)
@@ -41,7 +41,7 @@
{
@Inject
@Authenticated
- User currentUser;
+ private User currentUser;
@Inject
@InputField
@@ -59,12 +59,12 @@
{
if ((currentUser.getPassword() != null) && !currentUser.getPassword().equals(oldPassword))
{
- throw new ValidatorException(new FacesMessage("Your original password was incorrect."));
+ throw new ValidatorException(new FacesMessage("Your original password is incorrect."));
}
if ((newPassword != null) && !newPassword.equals(confirmNewPassword))
{
- throw new ValidatorException(new FacesMessage("New passwords did not match."));
+ throw new ValidatorException(new FacesMessage("New passwords do not match."));
}
}
More information about the seam-commits
mailing list