Skip to content

Commit 3dac734

Browse files
authored
dev(validator-plugin-cnig): no doc_urba for mec models (#411)
1 parent 88cd84a commit 3dac734

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

validator-plugin-cnig/src/main/java/fr/ign/validator/cnig/tools/IdurbaFormatFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public static IdurbaFormat getFormat(DocumentModel documentModel) {
3636
String documentModelName = documentModel.getName();
3737

3838
String documentType = DocumentModelName.getDocumentType(documentModelName);
39-
if (documentType == null || documentType.equalsIgnoreCase("SUP")) {
39+
if (documentType == null || documentType.equalsIgnoreCase("SUP") || documentType.equalsIgnoreCase("MEC")) {
4040
return null;
4141
}
4242

0 commit comments

Comments
 (0)