ECQL.toCQL encoded divide expressions as subtract expressions

Description

Here is a junit test to verify this:

final FilterFactory2 filterFactory2 = CommonFactoryFinder.getFilterFactory2();
final Filter javaFilter = filterFactory2.less(
filterFactory2.divide(filterFactory2.property("population"), filterFactory2.literal(2)),
filterFactory2.divide(filterFactory2.property("pop2000"), filterFactory2.literal(2))
);

assertEquals("population/2<pop2000/2", ECQL.toCQL(javaFilter).replace(" ", ""));

Environment

None

Assignee

Unassigned

Reporter

codehaus

Triage

None

Components

Fix versions

Affects versions

Priority

Low
Configure