ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gintautas Grigelionis <g.grigelio...@gmail.com>
Subject Re: Mapped resources NPEs - Potential fix causes a failure in one specific test
Date Fri, 09 Feb 2018 20:38:56 GMT
+1

Gintas

2018-02-09 21:16 GMT+01:00 Jan Matèrne (jhm) <apache@materne.de>:

> > What this specific test failure shows, though, is that we now no longer
> > are able to distinguish between a resource that we could copy but can't
> > because it doesn't provide a name and the case of "all resources have
> > been stripped out by mappers as "I don't know how to handle it".
>
>      * @return an array of strings if the rule applies to the source file,
> or
>      *         null if it does not.
>      */
>     String[] mapFileName(String sourceFileName);
>
> That means for me:
> - can't handle:  return null
> - no result: return new String[]{}
>
>
> Jan
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message