You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by vo...@apache.org on 2026/09/01 19:19:00 UTC
(myfaces) branch 4.1.x updated: Make EMPTY_VALIDATION_GROUPS private
This is an automated email from the ASF dual-hosted git repository.
volosied pushed a commit to branch 4.1.x
in repository https://gitbox.apache.org/repos/asf/myfaces.git
The following commit(s) were added to refs/heads/4.1.x by this push:
new 0a09637ad Make EMPTY_VALIDATION_GROUPS private
0a09637ad is described below
commit 0a09637ad0712bc80701c5704e60128e71782f2e
Author: Volodymyr Siedlecki <vo...@gmail.com>
AuthorDate: Tue Sep 1 15:18:52 2026 -0400
Make EMPTY_VALIDATION_GROUPS private
---
api/src/main/java/jakarta/faces/validator/BeanValidator.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/api/src/main/java/jakarta/faces/validator/BeanValidator.java b/api/src/main/java/jakarta/faces/validator/BeanValidator.java
index 7f17e1226..87af1d7be 100644
--- a/api/src/main/java/jakarta/faces/validator/BeanValidator.java
+++ b/api/src/main/java/jakarta/faces/validator/BeanValidator.java
@@ -116,7 +116,7 @@ public class BeanValidator implements Validator, PartialStateHolder
* {@code String.matches(EMPTY_VALIDATION_GROUPS_PATTERN)} to avoid recompiling the
* pattern on every postback.
*/
- public static final Pattern EMPTY_VALIDATION_GROUPS = Pattern.compile(EMPTY_VALIDATION_GROUPS_PATTERN);
+ private static final Pattern EMPTY_VALIDATION_GROUPS = Pattern.compile(EMPTY_VALIDATION_GROUPS_PATTERN);
/**
* Enable f:validateWholeBean use.