aboutsummaryrefslogtreecommitdiffstats
path: root/theme-compiler/src/com/vaadin/sass/tree/ListContainsNode.java
diff options
context:
space:
mode:
authorMarc Englund <marc@vaadin.com>2012-11-23 13:21:49 +0200
committerVaadin Code Review <review@vaadin.com>2012-11-23 11:47:42 +0000
commitfa7da722662de5ead99226189ca963afebdf5446 (patch)
tree7a6d87dd6ddf2ec6922cc10833a260d9340115eb /theme-compiler/src/com/vaadin/sass/tree/ListContainsNode.java
parent1c400f042b32046a4becacfb856db4829bd0515d (diff)
downloadvaadin-framework-fa7da722662de5ead99226189ca963afebdf5446.tar.gz
vaadin-framework-fa7da722662de5ead99226189ca963afebdf5446.zip
Make most of the sass compiler API internal, fixes #10339
Change-Id: Ia783142aa96665a26491b659a387490883875d37
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;
-
- }
-
-}