Just formatting App classes to be like the other class files on the project
This commit is contained in:
		| @@ -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(); | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user