aboutsummaryrefslogtreecommitdiff
path: root/src/main/model
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/model')
-rw-r--r--src/main/model/html/ElementNode.java2
-rw-r--r--src/main/model/html/HtmlParser.java1
-rw-r--r--src/main/model/html/Node.java (renamed from src/main/model/util/Node.java)2
-rw-r--r--src/main/model/html/TextNode.java1
4 files changed, 1 insertions, 5 deletions
diff --git a/src/main/model/html/ElementNode.java b/src/main/model/html/ElementNode.java
index 5ff4a0f..ef241e4 100644
--- a/src/main/model/html/ElementNode.java
+++ b/src/main/model/html/ElementNode.java
@@ -1,12 +1,10 @@
package model.html;
-import model.util.Node;
import org.javatuples.Pair;
import org.json.JSONObject;
import persistance.JsonAble;
import java.util.ArrayList;
-import java.util.Optional;
/**
* This ElementNode class represents an HTML tag and nested tags.
diff --git a/src/main/model/html/HtmlParser.java b/src/main/model/html/HtmlParser.java
index f0829f4..e1ebaa1 100644
--- a/src/main/model/html/HtmlParser.java
+++ b/src/main/model/html/HtmlParser.java
@@ -2,7 +2,6 @@ package model.html;
import java.util.*;
-import model.util.Node;
import org.javatuples.*;
import org.json.JSONObject;
import persistance.JsonAble;
diff --git a/src/main/model/util/Node.java b/src/main/model/html/Node.java
index a6fedaf..3284b3c 100644
--- a/src/main/model/util/Node.java
+++ b/src/main/model/html/Node.java
@@ -1,4 +1,4 @@
-package model.util;
+package model.html;
import org.json.JSONObject;
diff --git a/src/main/model/html/TextNode.java b/src/main/model/html/TextNode.java
index 2e89326..82ae245 100644
--- a/src/main/model/html/TextNode.java
+++ b/src/main/model/html/TextNode.java
@@ -1,6 +1,5 @@
package model.html;
-import model.util.Node;
import org.json.JSONObject;
import persistance.JsonAble;