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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user