rpuch commented on code in PR #1291:
URL: https://github.com/apache/ignite-3/pull/1291#discussion_r1011732342


##########
modules/cluster-management/src/main/java/org/apache/ignite/internal/cluster/management/raft/ClusterStateStorage.java:
##########
@@ -104,6 +105,12 @@ public interface ClusterStateStorage extends AutoCloseable 
{
      */
     void restoreSnapshot(Path snapshotPath);
 
+    /**
+     * Closes this storage.
+     */
+    @Override
+    void close();

Review Comment:
   On `ManuallyCloseable`, it is declared to throw `Exception`. This one does 
not declare anything, so re-declaring it here has value.



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

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to