Query merge with DefaultQuery
-----------------------------
Key: GEOT-3055
URL: http://jira.codehaus.org/browse/GEOT-3055
Project: GeoTools
Issue Type: Improvement
Components: data
Affects Versions: 2.7-M0
Reporter: Jody Garnett
Fix For: 2.7-M0
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.
{code}
class Query {
...
public String getHandle() {
return this.handle;
}
...
}
class DefaultQuery extends Query {
// empty
}
{code}
With this change Query can be used directly:
{code}
featureSource.getFeature( new Query( "countries.shp", filter ) );
{code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel