Open ChelseaZheng opened 6 years ago
Bug location: ASE/Hotel/src/main/java/CheckIn/addGuestController.java (line 110)
Code snippet:
Bug: Ensure that resources like this ResultSet object are closed after use
Explanation: If the connection is not closed after use, the port resources might be occupied meaninglessly and will cause connection errors during next connecting attempts.
Bug location: ASE/Hotel/src/main/java/CheckIn/addGuestController.java (line 110)
Code snippet:
Bug: Ensure that resources like this ResultSet object are closed after use
Explanation: If the connection is not closed after use, the port resources might be occupied meaninglessly and will cause connection errors during next connecting attempts.