ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Matèrne (jhm) <apa...@materne.de>
Subject AW: Mapped resources NPEs - Potential fix causes a failure in one specific test
Date Fri, 09 Feb 2018 20:16:48 GMT
> 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
View raw message