Details
Description
This is an easy one; we have Query as an interface and DefaultQuery as the only implementation. Like the only implementation ever ...
<p>
We should recast Query using the DefaultQuery implementation. The DefaultQuery subclass can remain for backwards compatibility.
class Query {
...
public String getHandle() {
return this.handle;
}
...
}
class DefaultQuery extends Query {
// empty
}
With this change Query can be used directly:
featureSource.getFeature( new Query( "countries.shp", filter ) );
Issue Links
- relates to
-
GEOT-3476
FeatureLock merged with DefaultFeatureLock
-