commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Ring <...@jdns.org>
Subject Re: svn commit: r376883 - /jakarta/commons/proper/cli/trunk/src/test/org/apache/commons/cli2/validation/DateValidatorTest.java
Date Fri, 10 Feb 2006 23:06:19 GMT
Hi there,

On Saturday 11 February 2006 09:53, mvdb@apache.org wrote:
> Author: mvdb
> Date: Fri Feb 10 14:52:59 2006
> New Revision: 376883
>
> URL: http://svn.apache.org/viewcvs?rev=376883&view=rev
> Log:
> Make tests run again.
>
> Modified:
>    
> jakarta/commons/proper/cli/trunk/src/test/org/apache/commons/cli2/validatio
>n/DateValidatorTest.java

.. snip ..

> @@ -102,7 +101,7 @@
>          throws InvalidArgumentException {
>          final Object[] array = new Object[] { "23/01/03 18:00" };
>          final List list = Arrays.asList(array);
> -        final Validator validator = new DateValidator();
> +        final Validator validator = new DateValidator(new
> SimpleDateFormat("dd/MM/yy HH:mm"));
>
>          validator.validate(list);
>

Thanks, that was really bugging me!

Regards,
James

-- 
James Ring

Mime
View raw message