4. You don't need to search the flights by "Carrier". While your criteriaFind() method should be generic, the flight search feature should only take "origin" and "destination".
The harder I work, the luckier I get. -Sam Goldwyn So tiny. - this ad:
Programmatically Create PDF Using Free Spire.PDF with Javahttps://coderanch.com/wiki/703735/Programmatically-Create-PDF-Free-Spire