aboutsummaryrefslogtreecommitdiffstats
path: root/theme-compiler/src/com/vaadin/sass/tree/ListContainsNode.java
diff options
context:
space:
mode:
Diffstat (limited to 'theme-compiler/src/com/vaadin/sass/tree/ListContainsNode.java')
-rw-r--r--theme-compiler/src/com/vaadin/sass/tree/ListContainsNode.java31
1 files changed, 0 insertions, 31 deletions
diff --git a/theme-compiler/src/com/vaadin/sass/tree/ListContainsNode.java b/theme-compiler/src/com/vaadin/sass/tree/ListContainsNode.java
deleted file mode 100644
index 1a9ace88a5..0000000000
--- a/theme-compiler/src/com/vaadin/sass/tree/ListContainsNode.java
+++ /dev/null
@@ -1,31 +0,0 @@
-package com.vaadin.sass.tree;
-
-import java.util.ArrayList;
-
-import com.vaadin.sass.parser.LexicalUnitImpl;
-
-public class ListContainsNode extends ListModifyNode {
-
- public ListContainsNode(String variable, String list, String contains,
- String separator) {
- this.variable = variable;
- checkSeparator(separator, list);
- populateList(list, contains);
- }
-
- @Override
- protected void modifyList(ArrayList<String> newList) {
- // Does not actually modify the list
- }
-
- @Override
- public VariableNode getModifiedList() {
-
- String contains = "" + list.containsAll(modify);
- VariableNode node = new VariableNode(variable.substring(1),
- LexicalUnitImpl.createString(contains), false);
- return node;
-
- }
-
-}