Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bbd769b

Browse files
committed
Merge pull request iluwatar#386 from amitbhoraniya/master
Dao Pattern : Create object with reference to Interface
2 parents ea81ef7 + b70614e commit bbd769b

File tree

1 file changed

+1
-1
lines changed
  • dao/src/main/java/com/iluwatar/dao

1 file changed

+1
-1
lines changed

dao/src/main/java/com/iluwatar/dao/App.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public class App {
5151
* @param args command line args.
5252
*/
5353
public static void main(final String[] args) {
54-
final CustomerDaoImpl customerDao = new CustomerDaoImpl(generateSampleCustomers());
54+
final CustomerDao customerDao = new CustomerDaoImpl(generateSampleCustomers());
5555
log.info("customerDao.getAllCustomers(): " + customerDao.getAllCustomers());
5656
log.info("customerDao.getCusterById(2): " + customerDao.getCustomerById(2));
5757
final Customer customer = new Customer(4, "Dan", "Danson");

0 commit comments

Comments
 (0)