]> git.mxchange.org Git - addressbook-war.git/blobdiff - src/java/org/mxchange/addressbook/validators/password/UserPasswordValidator.java
fixed copyright and added stuff for localization support (unfinished)
[addressbook-war.git] / src / java / org / mxchange / addressbook / validators / password / UserPasswordValidator.java
index 89d2828d94188501c603aaea3965c00d94452ac7..b4b3848cdb74db331f3dad7e54012bcb52261fae 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016 quix0r
+ * Copyright (C) 2016 Roland Haeder
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -54,10 +54,10 @@ public class UserPasswordValidator extends BaseStringValidator implements Valida
                //this.getLogger().logTrace(MessageFormat.format("validate: context={0},component={1},value={2} - CALLED!", context, component, value)); //NOI18N
 
                // The required field
-               String[] requiredFileds = {"currentPassword"}; //NOI18N
+               String[] requiredFields = {"currentPassword"}; //NOI18N
 
                // Pre-validation (example: not null, not a string, empty string ...)
-               super.preValidate(context, component, value, requiredFileds, false);
+               super.preValidate(context, component, value, requiredFields, false);
 
                // value is known to be an entered password, so instance login container
                LoginContainer container = new UserLoginContainer(this.loginController.getLoggedInUser(), (String) value);