You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by "bodewig (via GitHub)" <gi...@apache.org> on 2023/02/27 12:32:22 UTC

[GitHub] [ant] bodewig commented on pull request #199: Use verbose log level for loading stylesheets

bodewig commented on PR #199:
URL: https://github.com/apache/ant/pull/199#issuecomment-1446249553

   I wonder what kind of  `Resource` this is as `Resource#toString` is expected to only print the resource's name - and this is what the code here relied on. Looks as if `StringResource` printed its contents, but that seems wrong to me as there may be more places where code expects `toString` to not reveal the contents.
   
   Having said that, using `name` rather than `toString` here (and potentially more places) is the right thing to do in any case.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org