Update Hotel.java

This commit is contained in:
Ashish Trivedi 2020-08-10 12:54:46 +05:30 committed by GitHub
parent c0edac0046
commit 24126edd86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ import org.slf4j.LoggerFactory;
public class Hotel {
private static final Logger LOGGER = LoggerFactory.getLogger(TransactionScriptApp.class);
private HotelDaoImpl hotelDao;
private final HotelDaoImpl hotelDao;
public Hotel(HotelDaoImpl hotelDao) {
this.hotelDao = hotelDao;