Steps to Reproduce: 1. inFlightTest.java, run the test case testQueryAllPass2() 2. we can see the result of flight.getFlightIndex(). Expected output: The return of FlightIndex() should be 1. Actual output: the program returns the Fid instead of FlightIndex.
Resolution: Correct the getFlightIndex() in Flight.java.