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

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;