Refactor Bean Validation "constants" to package-private class
-------------------------------------------------------------
Key: MYFACES-2386
URL: https://issues.apache.org/jira/browse/MYFACES-2386
Project: MyFaces Core
Issue Type: Bug
Components: JSR-314
Affects Versions: 2.0.0-alpha
Reporter: Jan-Kees van Andel
Matthias pointed me to a TCK issue in the Bean Validation related classes
(BeanValidator, UIInput).
I've created some public static final booleans, used to determine @startup
whether Bean Validation and Unified EL are available.
The reason to declare them as public was because they are shared between the
"javax.faces.component" and "javax.faces.bean" packages, but it will probably
cause TCK failures.
Solution: Refactor the environment related "constants" to a package-private
class that exists in all necessary packages. This class might delegate the
plumbing to the IMPL to prevent code duplication.
See the issue on the mailing list:
http://www.nabble.com/-JSF-2.0--JSR-303-support-in-MyFaces-2.0-td25969477.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.