From 1b5454be9179f1ecce2e6b4796611f2fba5be79d Mon Sep 17 00:00:00 2001
From: Douglas Gillespie <50671166+douggillespie@users.noreply.github.com>
Date: Fri, 26 May 2023 10:27:25 +0100
Subject: [PATCH] Stop command
small change so command is available as a constant
---
.classpath | 2 +-
src/PamController/command/StopCommand.java | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/.classpath b/.classpath
index 0eb3c4fb..188c7291 100644
--- a/.classpath
+++ b/.classpath
@@ -6,7 +6,7 @@
-
+
diff --git a/src/PamController/command/StopCommand.java b/src/PamController/command/StopCommand.java
index 59eb7da4..f21df863 100644
--- a/src/PamController/command/StopCommand.java
+++ b/src/PamController/command/StopCommand.java
@@ -3,9 +3,11 @@ package PamController.command;
import PamController.PamController;
public class StopCommand extends ExtCommand {
+
+ public static final String commandId = "stop";
public StopCommand() {
- super("stop", false);
+ super(commandId, false);
}
@Override