diff options
author | Adrian Stabiszewski <github@grundid.de> | 2017-01-02 09:41:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-02 09:41:05 +0100 |
commit | 285dea38f8069278217568b38814d51121755912 (patch) | |
tree | 38c3789448648b4db5da5ba638a0175dd2ec6a9d | |
parent | cf4c61cfaab3833d10f4c57e68110eb7c2d868ff (diff) | |
download | geojson-jackson-285dea38f8069278217568b38814d51121755912.tar.gz |
typo fix
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -19,9 +19,9 @@ If you what to read any GeoJson file read the value as GeoJsonObject and then te ```java GeoJsonObject object = new ObjectMapper().readValue(inputStream, GeoJsonObject.class); -if (object instanceOf Polygon) { +if (object instanceof Polygon) { ... -} else if (object instanceOf Feature) { +} else if (object instanceof Feature) { ... } ``` |