diff options
author | L0P0P <grassoemanuele@live.com> | 2024-06-29 09:54:08 +0200 |
---|---|---|
committer | L0P0P <grassoemanuele@live.com> | 2024-06-29 09:54:08 +0200 |
commit | aaa97e2e41c0aa17a6f99099dd39bb73a935fe02 (patch) | |
tree | b8145ba056534835a9315ac7603ba99413fd2fb5 /src/ast/nodes/TestlistCompNode.java | |
parent | 37665fb6d0bc1eb29396ae949354cf7d6f9d54ca (diff) |
Fixed some warnings
Diffstat (limited to 'src/ast/nodes/TestlistCompNode.java')
-rw-r--r-- | src/ast/nodes/TestlistCompNode.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ast/nodes/TestlistCompNode.java b/src/ast/nodes/TestlistCompNode.java index 244f4ef..cba056c 100644 --- a/src/ast/nodes/TestlistCompNode.java +++ b/src/ast/nodes/TestlistCompNode.java @@ -20,7 +20,7 @@ public class TestlistCompNode implements Node { @Override public ArrayList<SemanticError> checkSemantics(SymbolTable ST, int _nesting) { - ArrayList<SemanticError> errors = new ArrayList(); + ArrayList<SemanticError> errors = new ArrayList<>(); if (comp != null) { // if comp is set, then we save the atom in the ST (we assume the first expr is |