Formatted all files to the same standard
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package com.iluwatar;
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* Interface for the nodes in hierarchy.
|
||||
*
|
||||
*/
|
||||
@@ -9,12 +9,12 @@ public abstract class Unit {
|
||||
|
||||
private Unit[] children;
|
||||
|
||||
public Unit(Unit ... children) {
|
||||
public Unit(Unit... children) {
|
||||
this.children = children;
|
||||
}
|
||||
|
||||
|
||||
public void accept(UnitVisitor visitor) {
|
||||
for (Unit child: children) {
|
||||
for (Unit child : children) {
|
||||
child.accept(visitor);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user