mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-06-08 14:12:51 +00:00
Code cleanup (#1461)
* Code cleanup * Fix flux tests * Fix checkstyle errors * Fix compile error
This commit is contained in:
@@ -101,7 +101,7 @@ public class NodeImpl implements Node {
|
||||
|
||||
public final class NullNode implements Node {
|
||||
|
||||
private static NullNode instance = new NullNode();
|
||||
private static final NullNode instance = new NullNode();
|
||||
|
||||
private NullNode() {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user