Reformat rest of the design patterns - Issue #224

This commit is contained in:
Ankur Kaushal committed 2015-11-01 21:29:13 -05:00
1 parent 449340bd2b
commit 306b1f3d31
337 files changed
+6740 -6847

No files matched your search

@@ -7,21 +7,18 @@ package com.iluwatar.templatemethod;
*/
public class SubtleMethod extends StealingMethod {
@Override
protected String pickTarget() {
return "shop keeper";
}
@Override
protected String pickTarget() {
return "shop keeper";
}
@Override
protected void confuseTarget(String target) {
System.out.println("Approach the " + target
+ " with tears running and hug him!");
}
@Override
protected void stealTheItem(String target) {
System.out.println("While in close contact grab the " + target
+ "'s wallet.");
}
@Override
protected void confuseTarget(String target) {
System.out.println("Approach the " + target + " with tears running and hug him!");
}
@Override
protected void stealTheItem(String target) {
System.out.println("While in close contact grab the " + target + "'s wallet.");
}
}