You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Thomas Spiegl (JIRA)" <de...@myfaces.apache.org> on 2006/11/07 14:46:57 UTC
[jira] Reopened: (MYFACES-1418) javax.faces.validator -
DoubleRangeValidator, LengthValidator, LongRangeValidator are very similar,
refactor common behaviour
[ http://issues.apache.org/jira/browse/MYFACES-1418?page=all ]
Thomas Spiegl reopened MYFACES-1418:
------------------------------------
validators in javax.faces.validator package must extend from Object (JSF 1.1)
> javax.faces.validator - DoubleRangeValidator, LengthValidator, LongRangeValidator are very similar, refactor common behaviour
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: MYFACES-1418
> URL: http://issues.apache.org/jira/browse/MYFACES-1418
> Project: MyFaces Core
> Issue Type: Improvement
> Components: JSR-127
> Affects Versions: 1.1.4
> Reporter: Nikolay Petrov
> Assigned To: Martin Marinschek
> Fix For: 1.1.5-SNAPSHOT
>
> Attachments: validator.patch
>
>
> The 3 classes are very similar to each other except the type of minimum and maximum (and value of course). Therefore I'll suggest extracting the common behaviour in common parent class.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira