Skip to content

Restore signature of OGCGeometry.fromJson and fromGeoJson - #127

Merged
stolstov merged 2 commits into
masterfrom
stolstov/restore_interface
Sep 28, 2016
Merged

stolstov merged 2 commits into
masterfrom
stolstov/restore_interface

Conversation

@stolstov

Copy link
Copy Markdown
Member

See issue #126 and discussion in #109

@randallwhitman @kjkrum @climbage

@randallwhitman

Copy link
Copy Markdown
Contributor

Is there still a difference from v1.2? -

-       public static OGCGeometry fromGeoJson(String string) throws JSONException {
+       public static OGCGeometry fromGeoJson(String string)
+                       throws JsonParseException, IOException {

(I couldn't find how to link to a diff in a single file on github, so i pasted that from cli git diff v1.2 -- src/main/java/com/esri/core/geometry/ogc/OGCGeometry.java)

@stolstov

Copy link
Copy Markdown
Member Author

@randallwhitman I've fixed fromGeoJson signature.

@randallwhitman randallwhitman changed the title Restore signature of OGCGeometry.fromJson Restore signature of OGCGeometry.fromJson and fromGeoJson Sep 28, 2016
@randallwhitman

Copy link
Copy Markdown
Contributor

Now those method interfaces are the same as v1.2 - looks good to me.

@stolstov
stolstov merged commit 6e4340a into master Sep 28, 2016
@stolstov
stolstov deleted the stolstov/restore_interface branch September 28, 2016 17:33
@randallwhitman randallwhitman added this to the 1.2.2 milestone Aug 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants