Removed unnecessary changes outside of scope of the task

This commit is contained in:
Wes Gilleland 2018-03-28 01:41:43 -04:00
parent 86ee59c232
commit 8b06ea52ab

View File

@ -135,14 +135,10 @@ public class OrcKing {
Then it is used as follows Then it is used as follows
```java ```java
public class Main() { OrcKing king = new OrcKing();
public static void main(String[] args) { king.makeRequest(new Request(RequestType.DEFEND_CASTLE, "defend castle")); // Orc commander handling request "defend castle"
OrcKing king = new OrcKing(); king.makeRequest(new Request(RequestType.TORTURE_PRISONER, "torture prisoner")); // Orc officer handling request "torture prisoner"
king.makeRequest(new Request(RequestType.DEFEND_CASTLE, "defend castle")); // Orc commander handling request "defend castle" king.makeRequest(new Request(RequestType.COLLECT_TAX, "collect tax")); // Orc soldier handling request "collect tax"
king.makeRequest(new Request(RequestType.TORTURE_PRISONER, "torture prisoner")); // Orc officer handling request "torture prisoner"
king.makeRequest(new Request(RequestType.COLLECT_TAX, "collect tax")); // Orc soldier handling request "collect tax"
}
}
``` ```
## Applicability ## Applicability