From 8b06ea52ab2915725635a5fb34c1468f9787d422 Mon Sep 17 00:00:00 2001 From: Wes Gilleland Date: Wed, 28 Mar 2018 01:41:43 -0400 Subject: [PATCH] Removed unnecessary changes outside of scope of the task --- chain/README.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/chain/README.md b/chain/README.md index ff08acdf7..eb434aea8 100644 --- a/chain/README.md +++ b/chain/README.md @@ -135,14 +135,10 @@ public class OrcKing { Then it is used as follows ```java -public class Main() { - public static void main(String[] args) { - OrcKing king = new OrcKing(); - king.makeRequest(new Request(RequestType.DEFEND_CASTLE, "defend castle")); // Orc commander handling request "defend castle" - 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" - } -} +OrcKing king = new OrcKing(); +king.makeRequest(new Request(RequestType.DEFEND_CASTLE, "defend castle")); // Orc commander handling request "defend castle" +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