mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-13 04:15:07 +00:00
Code cleanup (#1461)
* Code cleanup * Fix flux tests * Fix checkstyle errors * Fix compile error
This commit is contained in:
1 parent
5381387026
commit
417f21ed3d
243 files changed
+1154
-1162
No files matched your search
+1
-1
@@ -32,7 +32,7 @@ Given the army unit example from above, we first have the Unit and UnitVisitor b
|
||||
```java
|
||||
public abstract class Unit {
|
||||
|
||||
private Unit[] children;
|
||||
private final Unit[] children;
|
||||
|
||||
public Unit(Unit... children) {
|
||||
this.children = children;
|
||||
|
||||
Reference in new issue
Block a user