kkrugler commented on a change in pull request #385: URL: https://github.com/apache/tika/pull/385#discussion_r525341903
########## File path: tika-core/src/test/java/org/apache/tika/TikaTest.java ########## @@ -62,6 +62,15 @@ protected static Parser AUTO_DETECT_PARSER = new AutoDetectParser(); + /** + * Finds a resource with a given name. + * @param name name of the desired resource + * @return A {@link java.net.URL} object or null + */ + public URL getResource(String name) { Review comment: A more descriptive name - like `getResourceAsUrl()` - would help when reading the code. Wondering if a `getResourceAsUri()` should also be added. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org