cstamas commented on code in PR #226: URL: https://github.com/apache/maven-resolver/pull/226#discussion_r1041882626
########## maven-resolver-spi/src/main/java/org/eclipse/aether/spi/connector/checksum/ChecksumAlgorithmFactorySelector.java: ########## @@ -58,4 +58,13 @@ * of it). */ Collection<ChecksumAlgorithmFactory> getChecksumAlgorithmFactories(); + + /** + * Returns {@code true} if passed in extension matches any known checksum extension. The extension string may + * start or contain dot ("."), but does not have to. In former case "ends with" is checked (i.e. "jar.sha1" -> true; + * ".sha1" -> true) while in latter equality (i.e. "sha1" -> true). + * + * @since 1.9.3 + */ + boolean isChecksum( String extension ); Review Comment: Last commits undid unrelated changes, sorry (refresh) -- 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: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org