#107 JavaDoc for State pattern
This commit is contained in:
		| @@ -2,11 +2,11 @@ package com.iluwatar.state; | ||||
|  | ||||
| /** | ||||
|  *  | ||||
|  * In State pattern the container object (Mammoth) has an internal state object (State) that | ||||
|  * In State pattern the container object ({@link Mammoth}) has an internal state object ({@link State}) that | ||||
|  * defines the current behavior. The state object can be changed to alter the | ||||
|  * behavior. | ||||
|  *  | ||||
|  * In this example the mammoth changes its behavior as time passes by. | ||||
|  * <p> | ||||
|  * In this example the {@link Mammoth} changes its behavior as time passes by. | ||||
|  *  | ||||
|  */ | ||||
| public class App { | ||||
|   | ||||
| @@ -4,6 +4,11 @@ import org.junit.Test; | ||||
|  | ||||
| import com.iluwatar.state.App; | ||||
|  | ||||
| /** | ||||
|  *  | ||||
|  * Application test | ||||
|  * | ||||
|  */ | ||||
| public class AppTest { | ||||
|  | ||||
| 	@Test | ||||
|   | ||||
		Reference in New Issue
	
	Block a user