mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-19 05:25:56 +00:00
#108 Consistent package naming throughout the examples
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package com.iluwatar.business.delegate;
|
||||
|
||||
/**
|
||||
*
|
||||
* Client utilizes BusinessDelegate to call the business tier
|
||||
*
|
||||
*/
|
||||
public class Client {
|
||||
|
||||
private BusinessDelegate businessDelegate;
|
||||
|
||||
public Client(BusinessDelegate businessDelegate) {
|
||||
this.businessDelegate = businessDelegate;
|
||||
}
|
||||
|
||||
public void doTask() {
|
||||
businessDelegate.doTask();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user