diff options
author | j-james | 2022-10-18 22:11:26 +0000 |
---|---|---|
committer | j-james | 2022-10-18 22:11:26 +0000 |
commit | cea4d2b83f68ed2223ab1b07061dd7a7b709d2af (patch) | |
tree | 46773207e04805804fd05d6f5052e03ae4dd0f0e /src/main/model | |
parent | b1ed66fc3446de90256b34e38e4a7307a94be65c (diff) |
Replace Java 11 features with equivalent Java 8 ones
Diffstat (limited to 'src/main/model')
-rw-r--r-- | src/main/model/html/HtmlParser.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/model/html/HtmlParser.java b/src/main/model/html/HtmlParser.java index bfdd57c..d07a2ff 100644 --- a/src/main/model/html/HtmlParser.java +++ b/src/main/model/html/HtmlParser.java @@ -296,7 +296,7 @@ public class HtmlParser { */ private void addNewElementNode() { state = ParserState.HTML; - var node = new ElementNode(currentTag, currentAttributes); + ElementNode node = new ElementNode(currentTag, currentAttributes); if (unfinished.size() != 0) { unfinished.getLast().addChild(node); if (!isSelfClosingTag(currentTag)) { |