Skip to content

Commit

Permalink
dev(validator-plugin-cnig): active GeometryInDocumentValidator only f…
Browse files Browse the repository at this point in the history
…or secteur_cc or zone_urba
  • Loading branch information
cboucheIGN committed Nov 8, 2023
1 parent 2b69ef1 commit 4fedc3b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public void beforeValidate(Context context, Document document) throws Exception
continue;
}
String name = featureType.getName();
if (name.equals("SECTEUR_CC") || name.equals("ZONE_URBA")) {
if (!name.equals("SECTEUR_CC") && !name.equals("ZONE_URBA")) {
log.info(MARKER, "Skip {}. Only for SECTEUR_CC or ZONE_URBA.", featureType.getName());
continue;
}
Expand Down

0 comments on commit 4fedc3b

Please sign in to comment.