From 53452331d8e69dc3bcd40a56a4f00f9380140e73 Mon Sep 17 00:00:00 2001 From: RobertObkircher Date: Sun, 16 Feb 2025 20:31:23 +0100 Subject: Cleanup (#162) * remove unused method lazyFRef * remove unused method copyF(Node, Node) * make TypeMemPtr constants final * make ConstantNode value final --- chapter04/src/main/java/com/seaofnodes/simple/node/ConstantNode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chapter04/src/main') diff --git a/chapter04/src/main/java/com/seaofnodes/simple/node/ConstantNode.java b/chapter04/src/main/java/com/seaofnodes/simple/node/ConstantNode.java index 1086037d..23bc4d1a 100644 --- a/chapter04/src/main/java/com/seaofnodes/simple/node/ConstantNode.java +++ b/chapter04/src/main/java/com/seaofnodes/simple/node/ConstantNode.java @@ -16,7 +16,7 @@ import com.seaofnodes.simple.type.Type; * The Constant's value is the value stored in it. */ public class ConstantNode extends Node { - Type _con; + final Type _con; public ConstantNode( Type type ) { super(Parser.START); _con = type; -- cgit v1.2.3