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



##########
File path: 
src/main/java/org/apache/sling/feature/io/artifacts/spi/ArtifactProvider.java
##########
@@ -43,8 +44,20 @@
 
     /**
      * Shutdown the provider.
+     * @deprecated Use {@link #close()} instead.
      */
-    void shutdown();
+    @Deprecated
+    default void shutdown() {
+        

Review comment:
       But as close is also a default method (which makes sense for 
compatibility) this is kind of a strange situation and can easily lead to that 
none of them is implemented.
   I have the feeling we should not deprecate shutdown but just add close 
calling shutdown to suppot Closeable




-- 
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