mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-03 17:12:01 +00:00
Update Hotel.java
This commit is contained in:
1 parent
c0edac0046
commit
24126edd86
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user