]> git.mxchange.org Git - addressbook-war.git/blobdiff - src/java/org/mxchange/addressbook/validator/names/AddressbookNameValidator.java
Updated copyright year
[addressbook-war.git] / src / java / org / mxchange / addressbook / validator / names / AddressbookNameValidator.java
index c15dd54709600caa00c3e95947c0295ecd2b58b3..818e6c56d694d26ff4a793f5c41f948de8097f27 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016, 2017 Roland Häder
+ * Copyright (C) 2016 - 2024 Free Software Foundation
  *
  * 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
@@ -38,7 +38,7 @@ public class AddressbookNameValidator extends BaseStringValidator {
        @Override
        public void validate (final FacesContext context, final UIComponent component, final Object value) throws ValidatorException {
                // All accepted, required fields
-               String[] requiredFields = {"firstName", "familyName", "city", "street", "addressbookName"}; //NOI18N
+               final String[] requiredFields = {"firstName", "familyName", "city", "street", "addressbookName"}; //NOI18N
 
                // Pre-validation (example: not null, not a string, empty string ...)
                super.preValidate(context, component, value, requiredFields, false);