summary: after I run the testQueryAllPass2() function in FlightTest class, I found the output is wrong. 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.
solution: Correct the getFlightIndex() in Flight.java so that it can return the right result -- FlightIndex.