cziegeler commented on a change in pull request #26:
URL: 
https://github.com/apache/sling-org-apache-sling-feature/pull/26#discussion_r646115621



##########
File path: 
src/main/java/org/apache/sling/feature/io/artifacts/ArtifactHandler.java
##########
@@ -46,11 +47,24 @@ public ArtifactHandler(final String url, final URL 
localURL) {
      * @param file The file for the artifact
      * @throws MalformedURLException If the file name cannot be converted to a 
URL.
      * @since 1.1.0
+     * @deprecated Use {@link #ArtifactHandler(Path)} instead
      */
+    @Deprecated

Review comment:
       Why should we deprecate methods using File? Today java.io.File is not 
deprecated and used everywhere, so it seems convenient to have this




-- 
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:
[email protected]


Reply via email to