diff options
author | Marc Englund <marc@vaadin.com> | 2012-09-27 10:24:35 +0300 |
---|---|---|
committer | Marc Englund <marc@vaadin.com> | 2012-09-27 10:24:35 +0300 |
commit | 0cf6705e9a53c3c2b476a99cf7e6d048881b298c (patch) | |
tree | f133e60a5d30af43ecc87152df29c26ebdb05715 /theme-compiler/src/com/vaadin/sass/handler | |
parent | abea9d1ce0fdcad2e344cfa2417a09c29d903648 (diff) | |
download | vaadin-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.java | 2 | ||||
-rw-r--r-- | theme-compiler/src/com/vaadin/sass/handler/SCSSDocumentHandlerImpl.java | 7 |
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); } } |