It turns out that all current uses of this are actually with

StaticValues.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893079 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Adam Heath
2009-12-22 06:10:33 +00:00
parent 8626985652
commit 0e7872abef
@@ -19,14 +19,14 @@
package org.ofbiz.sql;
public final class FieldDefValue extends FieldDef {
private final ConstantValue value;
private final StaticValue value;
public FieldDefValue(ConstantValue value, String alias) {
super(alias == null && value instanceof StaticValue ? ((StaticValue) value).getDefaultName() : alias);
public FieldDefValue(StaticValue value, String alias) {
super(alias == null ? value.getDefaultName() : alias);
this.value = value;
}
public ConstantValue getValue() {
public StaticValue getValue() {
return value;
}