File tree 1 file changed +4
-8
lines changed
1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -135,14 +135,10 @@ public class OrcKing {
135
135
Then it is used as follows
136
136
137
137
``` 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"
146
142
```
147
143
148
144
## Applicability
You can’t perform that action at this time.
0 commit comments