From 6b0e5a8913addb5663bf3e37339182d2308097cb Mon Sep 17 00:00:00 2001 From: Vasundhara Perala Date: Wed, 27 Nov 2019 20:15:33 +0530 Subject: [PATCH 1/3] First Changes in MV --- .../src/com/premaseem/mediator/atc/AtcMediator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MediatorPatternExamples/src/com/premaseem/mediator/atc/AtcMediator.java b/MediatorPatternExamples/src/com/premaseem/mediator/atc/AtcMediator.java index 29971a6..b1570c4 100644 --- a/MediatorPatternExamples/src/com/premaseem/mediator/atc/AtcMediator.java +++ b/MediatorPatternExamples/src/com/premaseem/mediator/atc/AtcMediator.java @@ -12,7 +12,7 @@ public void grantLandingPermission(Flight flight) { if (approachingFligh == null) { approachingFligh = flight; flight.status = FlightStatus.IN_APPROACH; - System.out.printf(" Landing Permission Granted to %s , START APPROACHING .... ", flight.name); + System.out.printf("HI TEST Landing Permission Granted to %s , START APPROACHING .... ", flight.name); } else { if (!approachingFligh.name.equalsIgnoreCase(flight.name)) { From be4b89f4f221c34b9ced4a7b9ffdc2a2afa15a19 Mon Sep 17 00:00:00 2001 From: Vasundhara Perala Date: Thu, 28 Nov 2019 15:36:53 +0530 Subject: [PATCH 2/3] First changes in MVC --- .../src/com/premaseem/mediator/atc/Flight.java | 1 + 1 file changed, 1 insertion(+) diff --git a/MediatorPatternExamples/src/com/premaseem/mediator/atc/Flight.java b/MediatorPatternExamples/src/com/premaseem/mediator/atc/Flight.java index facd4b7..1eba8ea 100644 --- a/MediatorPatternExamples/src/com/premaseem/mediator/atc/Flight.java +++ b/MediatorPatternExamples/src/com/premaseem/mediator/atc/Flight.java @@ -18,6 +18,7 @@ void grantLandingPermission(){ atcMediator.grantLandingPermission(this); System.out.println("just added this line for training") System.out.println("made changes to address code review comment") + System.out.println("Test for git Training") } void landFlight(){ From 7fdb259fa119632953e57deeb28b3a65d9030cdc Mon Sep 17 00:00:00 2001 From: Vasundhara Perala Date: Thu, 28 Nov 2019 17:17:01 +0530 Subject: [PATCH 3/3] Code review comments implemented reviewer chandra --- .../src/com/premaseem/mediator/atc/Flight.java | 1 + 1 file changed, 1 insertion(+) diff --git a/MediatorPatternExamples/src/com/premaseem/mediator/atc/Flight.java b/MediatorPatternExamples/src/com/premaseem/mediator/atc/Flight.java index 1eba8ea..62ee4f2 100644 --- a/MediatorPatternExamples/src/com/premaseem/mediator/atc/Flight.java +++ b/MediatorPatternExamples/src/com/premaseem/mediator/atc/Flight.java @@ -19,6 +19,7 @@ void grantLandingPermission(){ System.out.println("just added this line for training") System.out.println("made changes to address code review comment") System.out.println("Test for git Training") + System.out.println("Made changes to address code review comment") } void landFlight(){