File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -135,14 +135,10 @@ public class OrcKing {
135135Then it is used as follows
136136
137137``` java
138- public class Main () {
139- public static void main (String [] args ) {
140- OrcKing king = new OrcKing ();
141- king. makeRequest(new Request (RequestType . DEFEND_CASTLE , " defend castle" )); // Orc commander handling request "defend castle"
142- king. makeRequest(new Request (RequestType . TORTURE_PRISONER , " torture prisoner" )); // Orc officer handling request "torture prisoner"
143- king. makeRequest(new Request (RequestType . COLLECT_TAX , " collect tax" )); // Orc soldier handling request "collect tax"
144- }
145- }
138+ OrcKing king = new OrcKing ();
139+ king. makeRequest(new Request (RequestType . DEFEND_CASTLE , " defend castle" )); // Orc commander handling request "defend castle"
140+ king. makeRequest(new Request (RequestType . TORTURE_PRISONER , " torture prisoner" )); // Orc officer handling request "torture prisoner"
141+ king. makeRequest(new Request (RequestType . COLLECT_TAX , " collect tax" )); // Orc soldier handling request "collect tax"
146142```
147143
148144## Applicability
You can’t perform that action at this time.
0 commit comments