Reformat rest of the design patterns - Issue #224

This commit is contained in:
Ankur Kaushal
2015-11-01 21:29:13 -05:00
parent 449340bd2b
commit 306b1f3d31
337 changed files with 6744 additions and 6851 deletions

View File

@@ -7,17 +7,17 @@ package com.iluwatar.templatemethod;
*/
public class HalflingThief {
private StealingMethod method;
private StealingMethod method;
public HalflingThief(StealingMethod method) {
this.method = method;
}
public HalflingThief(StealingMethod method) {
this.method = method;
}
public void steal() {
method.steal();
}
public void steal() {
method.steal();
}
public void changeMethod(StealingMethod method) {
this.method = method;
}
public void changeMethod(StealingMethod method) {
this.method = method;
}
}