Hello,
We have some EntityList classes generated in Seam 2.1.0.Beta1 that are not compiling with Seam 2.1.0.CR1.
The following code fragment worked fine in Seam 2.1.0.Beta1:
@Override public List<String> getRestrictions() { return Arrays.asList(RESTRICTIONS); }
But this code is now throwing this error:
The return type is incompatible with Query<EntityManager,Address>.getRestrictions()
@Override public List<String> getRestrictionExpressionStrings() { return Arrays.asList(RESTRICTIONS); }
Thanks, Ben
Dan calls the getRestrictionExpressionStrings a convenience method
.
getRestrictions() is still there but its
public List<ValueExpression> getRestrictions()
It was changed in changeset 9122 on 2008-09-23 with a reference to JBSEAM-2133