Bug 132786 Value2 should be cleaned after convert operator from between to equal in highlight rule.
Description: Value2 should be cleaned after convert operator from between to equal in highlight rule. Steps to reproduce: 1. Insert a data. 2. Set highlight rule in Property Editor. 2 between 1 and 3, color blue. 3. Save the report 4. Modify highlight rule, change to 1 equal 1, color blue. 5. Save the report, see generated xml source. Expected result: In xml source, value2 should be cleaned in highlight expression. Actual result: In xml source, value1 is 1 and value2 is 3.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/HighlightRuleHandle.java
.equalsIgnoreCase( propName ) )
				formatValueToSet = new NumberFormatValue( );
			else if ( HighlightRule.STRING_FORMAT_MEMBER
					.equalsIgnoreCase( propName ) )
				formatValueToSet = new StringFormatValue( );
			else
				assert false;
			if ( FormatValue.CATEGORY_MEMBER.equalsIgnoreCase( memberName ) )
				formatValueToSet.setCategory( valueToSet );
			else if ( FormatValue.CATEGORY_MEMBER.equalsIgnoreCase( memberName ) )
				formatValueToSet.setPattern( valueToSet );
			else
				assert false;
			setProperty( propName, formatValueToSet );
		}
		else
		{
			MemberHandle propHandle = getMember( propName );
			formatValueToSet = (FormatValue) propHandle.getValue( );
			FormatValueHandle formatHandle = (FormatValueHandle) formatValueToSet
					.getHandle( propHandle );
			if ( FormatValue.CATEGORY_MEMBER.equalsIgnoreCase( memberName ) )
				formatHandle.setCategory( valueToSet );
			else if ( FormatValue.PATTERN_MEMBER.equalsIgnoreCase( memberName ) )
				formatHandle.setPattern( valueToSet );
			else
				assert false;
		}
	}
}