Skip to content

Commit 8b06ea5

Browse files
committed
Removed unnecessary changes outside of scope of the task
1 parent 86ee59c commit 8b06ea5

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

chain/README.md

+4-8
Original file line numberDiff line numberDiff line change
@@ -135,14 +135,10 @@ public class OrcKing {
135135
Then 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

0 commit comments

Comments
 (0)