mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-18 07:25:41 +00:00
#108 Consistent package naming throughout the examples
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package com.iluwatar.dependency.injection;
|
||||
|
||||
/**
|
||||
*
|
||||
* Tobacco abstraction
|
||||
*
|
||||
*/
|
||||
public abstract class Tobacco {
|
||||
|
||||
public void smoke(Wizard wizard) {
|
||||
System.out.println(String.format("%s smoking %s", wizard.getClass().getSimpleName(), this.getClass().getSimpleName()));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user