rename class

This commit is contained in:
Zoltan Haindrich 2024-08-05 14:21:25 +00:00
parent 181458c873
commit 6d339d1706
1 changed files with 3 additions and 3 deletions

View File

@ -199,11 +199,11 @@ public class DruidQuidemCommandHandler implements CommandHandler
/** /**
* Handles plan commands captured via {@link Hook}. * Handles plan commands captured via {@link Hook}.
*/ */
abstract static class AbstractXPlanCommand extends AbstractPlanCommand abstract static class AbstractStringCaptureCommand extends AbstractPlanCommand
{ {
HookKey<String> hook; HookKey<String> hook;
AbstractXPlanCommand(List<String> lines, List<String> content, DruidHook.HookKey<String> hook) AbstractStringCaptureCommand(List<String> lines, List<String> content, DruidHook.HookKey<String> hook)
{ {
super(lines, content); super(lines, content);
this.hook = hook; this.hook = hook;
@ -247,7 +247,7 @@ public class DruidQuidemCommandHandler implements CommandHandler
super(lines, content, DruidHook.CONVERTED_PLAN); super(lines, content, DruidHook.CONVERTED_PLAN);
} }
} }
static class MSQPlanCommand extends AbstractXPlanCommand static class MSQPlanCommand extends AbstractStringCaptureCommand
{ {
MSQPlanCommand(List<String> lines, List<String> content) MSQPlanCommand(List<String> lines, List<String> content)
{ {