Minor bug: don't try to bind null cell value.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@187 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
David Huynh 2010-03-04 02:14:40 +00:00
parent 7eaf4b098c
commit 87956be756

View File

@ -28,7 +28,11 @@ public class ExpressionUtils {
bindings.remove("value"); bindings.remove("value");
} else { } else {
bindings.put("cell", cell); bindings.put("cell", cell);
bindings.put("value", cell.value); if (cell.value == null) {
bindings.remove("value");
} else {
bindings.put("value", cell.value);
}
} }
} }