Use the alternate FieldValue when no table alias is used.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893081 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Adam Heath
2009-12-22 06:11:24 +00:00
parent 2392b1e5cc
commit 3aefa8e81f
+3 -3
View File
@@ -660,12 +660,12 @@ private List<String> FieldList():
private FieldValue FieldValue(String fieldName):
{
String tableAlias = null, s;
String s;
}
{
( <PERIOD> s=NamePart() { tableAlias = fieldName; fieldName = s; } )?
( <PERIOD> s=NamePart() { return new FieldValue(fieldName, s); } )?
{
return new FieldValue(tableAlias, fieldName);
return new FieldValue(fieldName);
}
}