aboutsummaryrefslogtreecommitdiffstats
path: root/theme-compiler/src/com/vaadin/sass/tree/VariableNode.java
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/tree/VariableNode.java
parentabea9d1ce0fdcad2e344cfa2417a09c29d903648 (diff)
downloadvaadin-framework-0cf6705e9a53c3c2b476a99cf7e6d048881b298c.tar.gz
vaadin-framework-0cf6705e9a53c3c2b476a99cf7e6d048881b298c.zip
Improves remove() for #9380
Diffstat (limited to 'theme-compiler/src/com/vaadin/sass/tree/VariableNode.java')
-rw-r--r--theme-compiler/src/com/vaadin/sass/tree/VariableNode.java10
1 files changed, 2 insertions, 8 deletions
diff --git a/theme-compiler/src/com/vaadin/sass/tree/VariableNode.java b/theme-compiler/src/com/vaadin/sass/tree/VariableNode.java
index ffe6b77896..d18ff54138 100644
--- a/theme-compiler/src/com/vaadin/sass/tree/VariableNode.java
+++ b/theme-compiler/src/com/vaadin/sass/tree/VariableNode.java
@@ -35,7 +35,6 @@ public class VariableNode extends Node implements IVariableNode {
this.name = name;
this.expr = expr;
this.guarded = guarded;
- checkSeparators();
}
public LexicalUnitImpl getExpr() {
@@ -44,15 +43,10 @@ public class VariableNode extends Node implements IVariableNode {
public void setExpr(LexicalUnitImpl expr) {
this.expr = expr;
- checkSeparators();
}
- private void checkSeparators() {
- if (expr != null) {
- if (expr.toString().contains(",")) {
-
- }
- }
+ public void setName(String name) {
+ this.name = name;
}
public String getName() {