@@ -92,14 +92,14 @@ private void parseGeometryObject(JSONObject geometry, int featureIndex) throws E
9292 this .geometries [featureIndex ] = parseCoordinates (coordinates , this .geojsonShapeType );
9393 }
9494
95- private void extractSchemaFromFeatures (JSONArray features ) throws ExtensionException {
95+ private final void extractSchemaFromFeatures (JSONArray features ) throws ExtensionException {
9696 for (Object featureObj : features ) {
9797 JSONObject feature = (JSONObject ) featureObj ;
9898 parseSchemaOfSingleFeature (feature );
9999 }
100100 }
101101
102- public void parseSchemaOfSingleFeature (JSONObject feature ) throws ExtensionException {
102+ public final void parseSchemaOfSingleFeature (JSONObject feature ) throws ExtensionException {
103103 JSONObject properties = (JSONObject ) feature .get ("properties" );
104104 for (Object entryObj : properties .entrySet ()) {
105105 @ SuppressWarnings ("unchecked" )
@@ -132,7 +132,7 @@ private void finalizeSchema() {
132132 }
133133 }
134134
135- public void parseFeatureObject (JSONObject feature , int featureIndex ) throws ExtensionException {
135+ public final void parseFeatureObject (JSONObject feature , int featureIndex ) throws ExtensionException {
136136 JSONObject geometry = (JSONObject ) feature .get ("geometry" );
137137 parseGeometryObject (geometry , featureIndex );
138138
@@ -165,7 +165,7 @@ public void parseFeatureObject(JSONObject feature, int featureIndex) throws Exte
165165 this .propertyValues [featureIndex ] = thesePropertyValues ;
166166 }
167167
168- public void parseFeatureCollection () throws ExtensionException {
168+ public final void parseFeatureCollection () throws ExtensionException {
169169 JSONArray features = (JSONArray ) geojson .get ("features" );
170170
171171 if (features .size () < 1 ) {
@@ -190,7 +190,7 @@ public void parseFeatureCollection() throws ExtensionException {
190190 }
191191 }
192192
193- public void parseSingleFeatureDataset () throws ExtensionException {
193+ public final void parseSingleFeatureDataset () throws ExtensionException {
194194 this .size = 1 ;
195195 this .geometries = new Geometry [size ];
196196 this .propertyValues = new Object [size ][];
@@ -204,7 +204,7 @@ public void parseSingleFeatureDataset() throws ExtensionException {
204204 parseFeatureObject (firstFeature , 0 );
205205 }
206206
207- public void parseSingleGeometryDataset () throws ExtensionException {
207+ public final void parseSingleGeometryDataset () throws ExtensionException {
208208 this .size = 1 ;
209209 this .geometries = new Geometry [size ];
210210 this .propertyValues = new Object [size ][0 ];
0 commit comments