Skip to content

Commit

Permalink
Service now needs to be AutoCloseable
Browse files Browse the repository at this point in the history
  • Loading branch information
dlarge committed Nov 27, 2024
1 parent 5f5369a commit 20b8dc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/emc/mongoose/base/svc/Service.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import java.rmi.RemoteException;

/** Created by kurila on 07.05.14. A remote service which has a name for resolution by URI. */
public interface Service extends AsyncRunnable, Remote {
public interface Service extends AutoCloseable, AsyncRunnable, Remote {

int registryPort() throws RemoteException;

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/config/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ run:
node: false
port: 9999
scenario: null
version: 4.3.9
version: 4.3.10

storage:
auth:
Expand Down

0 comments on commit 20b8dc4

Please sign in to comment.