This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-validator.git
The following commit(s) were added to refs/heads/master by this push:
new 55aa9a88 Static fields should be final
55aa9a88 is described below
commit 55aa9a88e7ce407f003e857a6bf176aa4b65204a
Author: Sebb <[email protected]>
AuthorDate: Sun Dec 28 18:00:38 2025 +0000
Static fields should be final
---
src/example/org/apache/commons/validator/example/ValidateExample.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/src/example/org/apache/commons/validator/example/ValidateExample.java
b/src/example/org/apache/commons/validator/example/ValidateExample.java
index 9e62e9fc..48a5b17a 100644
--- a/src/example/org/apache/commons/validator/example/ValidateExample.java
+++ b/src/example/org/apache/commons/validator/example/ValidateExample.java
@@ -50,7 +50,7 @@ public class ValidateExample {
* from. Note that this is not strictly required to make the Validator
* work, but is a good coding practice.
*/
- private static ResourceBundle apps =
+ private static final ResourceBundle apps =
ResourceBundle.getBundle(
"org.apache.commons.validator.example.applicationResources");