We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fab794 commit bec09a2Copy full SHA for bec09a2
MediatorPatternExamples/src/com/premaseem/mediator/atc/Flight.java
@@ -3,11 +3,11 @@
3
import com.premaseem.mediator.atc.AtcMediator.FlightStatus;
4
5
public class Flight {
6
-
+
7
FlightStatus status;
8
AtcMediator atcMediator=null;
9
public String name;
10
11
public Flight(AtcMediator atcMediator, String flightName) {
12
status = FlightStatus.IN_Q;
13
name = flightName;
@@ -16,8 +16,9 @@ public Flight(AtcMediator atcMediator, String flightName) {
16
17
void grantLandingPermission(){
18
atcMediator.grantLandingPermission(this);
19
+ System.out.println("just added this line for training")
20
}
21
22
void landFlight(){
23
atcMediator.landFlight(this);
24
0 commit comments