summaryrefslogtreecommitdiff
path: root/src/semanticanalysis/Share.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/semanticanalysis/Share.java')
-rw-r--r--src/semanticanalysis/Share.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/semanticanalysis/Share.java b/src/semanticanalysis/Share.java
index c98fc53..7542cf7 100644
--- a/src/semanticanalysis/Share.java
+++ b/src/semanticanalysis/Share.java
@@ -1,7 +1,7 @@
package semanticanalysis;
-import java.util.*;
import java.io.*;
+import java.util.*;
public class Share {
@@ -10,7 +10,7 @@ public class Share {
* generic because it's used a custom contains function.
*/
public static ArrayList<SemanticError> removeDuplicates(ArrayList<SemanticError> list) {
- ArrayList<SemanticError> newList = new ArrayList<SemanticError>();
+ ArrayList<SemanticError> newList = new ArrayList();
for (SemanticError element : list) {
if (!customContains(newList, element)) {