Just formatting App classes to be like the other class files on the project

This commit is contained in:
Matthew
2014-10-07 16:23:37 +01:00
parent 52f0923df9
commit bde5b343d0
24 changed files with 466 additions and 508 deletions

View File

@ -1,19 +1,17 @@
package com.iluwatar;
/**
*
* Template Method (StealingMethod) defines skeleton for the
* algorithm and subclasses (HitAndRunMethod, SubtleMethod)
* fill in the blanks.
*
* Template Method (StealingMethod) defines skeleton for the algorithm and
* subclasses (HitAndRunMethod, SubtleMethod) fill in the blanks.
*
*/
public class App
{
public static void main( String[] args )
{
HalflingThief thief = new HalflingThief(new HitAndRunMethod());
thief.steal();
thief.changeMethod(new SubtleMethod());
thief.steal();
public class App {
public static void main(String[] args) {
HalflingThief thief = new HalflingThief(new HitAndRunMethod());
thief.steal();
thief.changeMethod(new SubtleMethod());
thief.steal();
}
}