commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (VALIDATOR-417) TimeValidator/CalendarValidator common validate code could be pushed up
Date Mon, 13 Feb 2017 12:08:42 GMT

    [ 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)

Mime
View raw message