aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Stabiszewski <github@grundid.de>2017-01-02 09:41:05 +0100
committerGitHub <noreply@github.com>2017-01-02 09:41:05 +0100
commit285dea38f8069278217568b38814d51121755912 (patch)
tree38c3789448648b4db5da5ba638a0175dd2ec6a9d
parentcf4c61cfaab3833d10f4c57e68110eb7c2d868ff (diff)
downloadgeojson-jackson-285dea38f8069278217568b38814d51121755912.tar.gz
typo fix
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 1950edc..82091fc 100644
--- a/README.md
+++ b/README.md
@@ -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) {
...
}
```