From 5eb9b98e784ba9f5a37b342e804cc5a361927eb0 Mon Sep 17 00:00:00 2001 From: Ashish Trivedi Date: Mon, 10 Aug 2020 00:24:20 +0530 Subject: [PATCH] Update transaction-script/Readme.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Ilkka Seppälä --- transaction-script/Readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transaction-script/Readme.md b/transaction-script/Readme.md index 0b7f209c2..5c35e8734 100644 --- a/transaction-script/Readme.md +++ b/transaction-script/Readme.md @@ -76,7 +76,7 @@ public class Hotel { } ``` -This class has two methods, one for booking and cancelling a room respectively. +The `Hotel` class has two methods, one for booking and cancelling a room respectively. Each one of them handles a single transaction in the system, making `Hotel` implement the Transaction Script pattern. ``` public void bookRoom(int roomNumber);