Skip to content

Commit

Permalink
Change visibility of action constructor (public -> private)
Browse files Browse the repository at this point in the history
- MainAction
- RemoteInfoAction

Signed-off-by: Taeik Lim <[email protected]>
  • Loading branch information
acktsap committed Dec 21, 2023
1 parent 2c8ee19 commit 9822f56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public final class RemoteInfoAction extends ActionType<RemoteInfoResponse> {
public static final String NAME = "cluster:monitor/remote/info";
public static final RemoteInfoAction INSTANCE = new RemoteInfoAction();

public RemoteInfoAction() {
private RemoteInfoAction() {
super(NAME, RemoteInfoResponse::new);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public class MainAction extends ActionType<MainResponse> {
public static final String NAME = "cluster:monitor/main";
public static final MainAction INSTANCE = new MainAction();

public MainAction() {
private MainAction() {
super(NAME, MainResponse::new);
}
}

0 comments on commit 9822f56

Please sign in to comment.