diff --git a/MediatorPatternExamples/src/com/premaseem/mediator/atc/AtcMediator.java b/MediatorPatternExamples/src/com/premaseem/mediator/atc/AtcMediator.java index 0bf3566..29971a6 100644 --- a/MediatorPatternExamples/src/com/premaseem/mediator/atc/AtcMediator.java +++ b/MediatorPatternExamples/src/com/premaseem/mediator/atc/AtcMediator.java @@ -29,7 +29,7 @@ void landFlight(Flight flight) { flight.status = FlightStatus.LANDED; approachingFligh = null; } else if (flight.status.equals(FlightStatus.IN_Q)) { - System.out.printf("Grand permission before landing - WARNING to %s ", flight.name); + System.out.printf("Added for Training - Grand permission before landing - WARNING to %s ", flight.name); } else { System.out.printf("Flight %s is already grounded ", flight.name); } diff --git a/MediatorPatternExamples/src/com/premaseem/mediator/atc/Flight.java b/MediatorPatternExamples/src/com/premaseem/mediator/atc/Flight.java index f3fa33a..facd4b7 100644 --- a/MediatorPatternExamples/src/com/premaseem/mediator/atc/Flight.java +++ b/MediatorPatternExamples/src/com/premaseem/mediator/atc/Flight.java @@ -17,6 +17,7 @@ public Flight(AtcMediator atcMediator, String flightName) { void grantLandingPermission(){ atcMediator.grantLandingPermission(this); System.out.println("just added this line for training") + System.out.println("made changes to address code review comment") } void landFlight(){