You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2017/02/13 12:08:42 UTC

[jira] [Commented] (VALIDATOR-417) TimeValidator/CalendarValidator common validate code could be pushed up

    [ https://issues.apache.org/jira/browse/VALIDATOR-417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15863553#comment-15863553 ] 

Sebb commented on VALIDATOR-417:
--------------------------------

There is a similar set of validate routines in DateValidator, however these return a Date rather than a Calendar so cannot be shared.

This means that TimeValidator and CalendarValidator would need their own separate parent class

> TimeValidator/CalendarValidator common validate code could be pushed up
> -----------------------------------------------------------------------
>
>                 Key: VALIDATOR-417
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-417
>             Project: Commons Validator
>          Issue Type: Improvement
>            Reporter: Sebb
>
> The TimeValidator and CalendarValidator classes have identical validate methods.
> These could be pushed up into a common superclass.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)