summaryrefslogtreecommitdiffstats
path: root/theme-compiler
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-11-21 13:45:18 +0200
committerLeif Åstrand <leif@vaadin.com>2012-11-21 13:45:18 +0200
commit3fc9f19534b7d1ab06fc73b146b9d31868c205c1 (patch)
tree1bffb8b9105fe8c150276c646f0ff119f9d6a565 /theme-compiler
parent375024684a58c27657abb79ff63f92ce247437b5 (diff)
downloadvaadin-framework-3fc9f19534b7d1ab06fc73b146b9d31868c205c1.tar.gz
vaadin-framework-3fc9f19534b7d1ab06fc73b146b9d31868c205c1.zip
Global code cleanup
Change-Id: I14f46e6aa4f9cbdd9037f1c4ad1ac38fe7cbda86
Diffstat (limited to 'theme-compiler')
-rw-r--r--theme-compiler/src/com/vaadin/sass/tree/controldirective/IfElseDefNode.java1
-rw-r--r--theme-compiler/src/com/vaadin/sass/visitor/BlockNodeHandler.java2
2 files changed, 2 insertions, 1 deletions
diff --git a/theme-compiler/src/com/vaadin/sass/tree/controldirective/IfElseDefNode.java b/theme-compiler/src/com/vaadin/sass/tree/controldirective/IfElseDefNode.java
index 9a818f0a20..7cf07c4b0d 100644
--- a/theme-compiler/src/com/vaadin/sass/tree/controldirective/IfElseDefNode.java
+++ b/theme-compiler/src/com/vaadin/sass/tree/controldirective/IfElseDefNode.java
@@ -15,6 +15,7 @@ public class IfElseDefNode extends Node {
return b.toString();
}
+ @Override
public void traverse() {
try {
diff --git a/theme-compiler/src/com/vaadin/sass/visitor/BlockNodeHandler.java b/theme-compiler/src/com/vaadin/sass/visitor/BlockNodeHandler.java
index 0d00fd2d0c..a3fdd1cefa 100644
--- a/theme-compiler/src/com/vaadin/sass/visitor/BlockNodeHandler.java
+++ b/theme-compiler/src/com/vaadin/sass/visitor/BlockNodeHandler.java
@@ -49,7 +49,7 @@ public class BlockNodeHandler {
ArrayList<String> newList = new ArrayList<String>();
ArrayList<String> parentSelectors = ((BlockNode) node.getParentNode())
.getSelectorList();
- ArrayList<String> childSelectors = ((BlockNode) node).getSelectorList();
+ ArrayList<String> childSelectors = node.getSelectorList();
for (int i = 0; i < parentSelectors.size(); i++) {
String parentSelector = parentSelectors.get(i);
for (int j = 0; j < childSelectors.size(); j++) {