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



##########
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:
       I'm not sure - shutdown not throwing a checked exception is intentional 
- what should a client do if shutdown is failing? I think shutdown is different 
from closing an output stream where close is required to fully work to not 
loose data. If shutdown of the provider fails - what damage does it do?




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