mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-16 06:58:54 +00:00
Formatted all files to the same standard
This commit is contained in:
@@ -3,14 +3,14 @@ package com.iluwatar;
|
||||
/**
|
||||
*
|
||||
* The proxy controlling access to WizardTower.
|
||||
*
|
||||
*
|
||||
*/
|
||||
public class WizardTowerProxy extends WizardTower {
|
||||
|
||||
private static final int NUM_WIZARDS_ALLOWED = 3;
|
||||
|
||||
|
||||
private int numWizards;
|
||||
|
||||
|
||||
@Override
|
||||
public void enter(Wizard wizard) {
|
||||
if (numWizards < NUM_WIZARDS_ALLOWED) {
|
||||
|
||||
Reference in New Issue
Block a user