Skip to content

Commit

Permalink
Change visibility of action constructor (public -> private) (opensear…
Browse files Browse the repository at this point in the history
…ch-project#11659)

- MainAction
- RemoteInfoAction

Signed-off-by: Taeik Lim <[email protected]>
  • Loading branch information
acktsap authored Dec 21, 2023
1 parent a3524b3 commit fe46dde
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 fe46dde

Please sign in to comment.