#107 JavaDoc for Proxy example
This commit is contained in:
parent
0db6581cfd
commit
4d08d16bb1
@ -2,7 +2,7 @@ package com.iluwatar.proxy;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* Proxy (WizardTowerProxy) controls access to the actual object (WizardTower).
|
* Proxy ({@link WizardTowerProxy}) controls access to the actual object ({@link WizardTower}).
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class App {
|
public class App {
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
package com.iluwatar.proxy;
|
package com.iluwatar.proxy;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* Wizard
|
||||||
|
*
|
||||||
|
*/
|
||||||
public class Wizard {
|
public class Wizard {
|
||||||
|
|
||||||
private String name;
|
private String name;
|
||||||
|
@ -2,7 +2,7 @@ package com.iluwatar.proxy;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* The proxy controlling access to WizardTower.
|
* The proxy controlling access to the {@link WizardTower}.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class WizardTowerProxy extends WizardTower {
|
public class WizardTowerProxy extends WizardTower {
|
||||||
|
@ -4,6 +4,11 @@ import org.junit.Test;
|
|||||||
|
|
||||||
import com.iluwatar.proxy.App;
|
import com.iluwatar.proxy.App;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* Application test
|
||||||
|
*
|
||||||
|
*/
|
||||||
public class AppTest {
|
public class AppTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user