ngageoint / elasticgeo

ElasticGeo provides a GeoTools data store that allows geospatial features from an Elasticsearch index to be published via OGC services using GeoServer.
GNU General Public License v3.0
168 stars 85 forks source link

return saved instance instead of calling get to retreive instance #21

Closed nreese closed 8 years ago

nreese commented 8 years ago

mil.nga.giat.data.elasticsearch.ElasticFeatureReader creates an instance variable for the featureType. The method getFeatureType did not use this instance variable, instead getting the value by calling state.getFeatureType(). Updated the method to just use the stored instance variable

Fixes #18

sjudeng commented 8 years ago

Thanks for tracking this down