AttributeExpression2 breaks StyleBuilder

Description

Can we please apply the following patch to StyleBuilder:
public Expression attributeExpression(String attributeName)
throws org.geotools.filter.IllegalFilterException
{
org.geotools.filter.AttributeExpression attribute =
ff.createAttributeExpression( null, attributeName );
return attribute;
}

Right now any call to attributeExpression( name ) results in failure, this means that both createTextSymbolizer convience methods are currently broken!
createTextSymbolizer(Color, Font[], String)
createTextSymbolizer(Color, Font, String)

The above patch will set things right. This problem is fixed on trunk. Thanks to Suneesh Kumar for the bug report <img class="emoticon" src="https://jira.codehaus.org/images/icons/emoticons/smile.gif" height="16" width="16" align="absmiddle" alt="" border="0"/>

Environment

None

Assignee

Unassigned

Reporter

codehaus

Triage

None

Components

Fix versions

Affects versions

Priority

Highest
Configure