code: public Object addFeatureToCollection(Object featureCollection,
  			Object feature) {
  		JTSFeature feat = (JTSFeature) feature;
  		try {
  			if (feat.getGeometry().getGeometry().getCoordinate().x == 0
  					&& feat.getGeometry().getGeometry().getCoordinate().y == 0) {
  				//return featureCollection;
  			}
  		} catch (BaseException e) {
  			e.printStackTrace();
  			return featureCollection;
  		}
  		((ArrayList) featureCollection).add(feature);
  		return featureCollection;
  	}
docs: {@inheritDoc}