Skip to content

Commit

Permalink
Revert Feature.properties() NonNull (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
louwers authored Jun 5, 2024
1 parent f88938f commit e3517e1
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -258,11 +258,8 @@ public Geometry geometry() {
* @return a {@link JsonObject} which holds this features current properties
* @since 1.0.0
*/
@NonNull
@Nullable
public JsonObject properties() {
if (properties == null) {
throw new IllegalStateException("Properties should not be null");
}
return properties;
}

Expand Down

0 comments on commit e3517e1

Please sign in to comment.