summaryrefslogtreecommitdiffstats
path: root/theme-compiler/src/com/vaadin/sass/handler
diff options
context:
space:
mode:
authorMarc Englund <marc@vaadin.com>2012-09-27 10:24:35 +0300
committerMarc Englund <marc@vaadin.com>2012-09-27 10:24:35 +0300
commit0cf6705e9a53c3c2b476a99cf7e6d048881b298c (patch)
treef133e60a5d30af43ecc87152df29c26ebdb05715 /theme-compiler/src/com/vaadin/sass/handler
parentabea9d1ce0fdcad2e344cfa2417a09c29d903648 (diff)
downloadvaadin-framework-0cf6705e9a53c3c2b476a99cf7e6d048881b298c.tar.gz
vaadin-framework-0cf6705e9a53c3c2b476a99cf7e6d048881b298c.zip
Improves remove() for #9380
Diffstat (limited to 'theme-compiler/src/com/vaadin/sass/handler')
-rw-r--r--theme-compiler/src/com/vaadin/sass/handler/SCSSDocumentHandler.java2
-rw-r--r--theme-compiler/src/com/vaadin/sass/handler/SCSSDocumentHandlerImpl.java7
2 files changed, 5 insertions, 4 deletions
diff --git a/theme-compiler/src/com/vaadin/sass/handler/SCSSDocumentHandler.java b/theme-compiler/src/com/vaadin/sass/handler/SCSSDocumentHandler.java
index c23afa7acc..3eda2fcdc6 100644
--- a/theme-compiler/src/com/vaadin/sass/handler/SCSSDocumentHandler.java
+++ b/theme-compiler/src/com/vaadin/sass/handler/SCSSDocumentHandler.java
@@ -82,7 +82,7 @@ public interface SCSSDocumentHandler extends DocumentHandler {
EachDefNode startEachDirective(String var, String listVariable);
- void removeDirective(ArrayList<String> list, ArrayList<String> remove,
+ void removeDirective(String variable, String list, String remove,
String separator);
}
diff --git a/theme-compiler/src/com/vaadin/sass/handler/SCSSDocumentHandlerImpl.java b/theme-compiler/src/com/vaadin/sass/handler/SCSSDocumentHandlerImpl.java
index 3378903c4d..626969b827 100644
--- a/theme-compiler/src/com/vaadin/sass/handler/SCSSDocumentHandlerImpl.java
+++ b/theme-compiler/src/com/vaadin/sass/handler/SCSSDocumentHandlerImpl.java
@@ -306,9 +306,10 @@ public class SCSSDocumentHandlerImpl implements SCSSDocumentHandler {
}
@Override
- public void removeDirective(ArrayList<String> list,
- ArrayList<String> remove, String separator) {
- ListRemoveNode node = new ListRemoveNode(list, remove, separator);
+ public void removeDirective(String variable, String list, String remove,
+ String separator) {
+ ListRemoveNode node = new ListRemoveNode(variable, list, remove,
+ separator);
nodeStack.peek().appendChild(node);
}
}