From 83fa3a6b02c477fed5437752878f8dcc91b49340 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Thu, 7 Jan 2021 00:42:18 +0100 Subject: [PATCH] Added organization.chatrooms.* check. --- src/fr/devinsy/statoolinfos/checker/PropertyChecker.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java b/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java index daee350..60d7e80 100644 --- a/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java +++ b/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java @@ -79,7 +79,7 @@ public class PropertyChecker this.federationRules.add("federation.logo", URL, PropertyMode.WISHED); this.federationRules.add("federation.contact.url", URL, PropertyMode.WISHED); this.federationRules.add("federation.contact.email", EMAIL, PropertyMode.WISHED); - this.federationRules.add("federation.socialnetworks.…", "^federation\\.socialnetworks\\.\\S+$", URL, PropertyMode.OPTIONAL); + this.federationRules.add("federation.socialnetworks.*", "^federation\\.socialnetworks\\.\\S+$", URL, PropertyMode.OPTIONAL); this.federationRules.add("federation.legal.url", URL, PropertyMode.WISHED); this.federationRules.add("federation.legal", URL, PropertyMode.WISHED); this.federationRules.add("federation.guide.user", URL, PropertyMode.WISHED); @@ -111,7 +111,8 @@ public class PropertyChecker this.organizationRules.add("organization.status.description", STRING, PropertyMode.OPTIONAL); this.organizationRules.add("organization.website", URL, PropertyMode.WISHED); this.organizationRules.add("organization.logo", URL, PropertyMode.WISHED); - this.organizationRules.add("organization.socialnetworks.…", "^organization\\.socialnetworks\\.\\S+$", URL, PropertyMode.OPTIONAL); + this.organizationRules.add("organization.socialnetworks.*", "^organization\\.socialnetworks\\.\\S+$", URL, PropertyMode.OPTIONAL); + this.organizationRules.add("organization.chatrooms.*", "^organization\\.chatrooms\\.\\S+$", URL, PropertyMode.OPTIONAL); this.organizationRules.add("organization.owner.name", STRING, PropertyMode.OPTIONAL); this.organizationRules.add("organization.owner.website", URL, PropertyMode.OPTIONAL); this.organizationRules.add("organization.owner.logo", URL, PropertyMode.OPTIONAL); @@ -147,7 +148,6 @@ public class PropertyChecker this.serviceRules.add("service.logo", URL, PropertyMode.WISHED); this.serviceRules.add("service.contact.url", URL, PropertyMode.WISHED); this.serviceRules.add("service.contact.email", EMAIL, PropertyMode.WISHED); - this.serviceRules.add("service.socialnetworks.…", "^service\\.socialnetworks\\.\\S+$", URL, PropertyMode.OPTIONAL); this.serviceRules.add("service.legal.url", URL, PropertyMode.WISHED); this.serviceRules.add("service.guide.user", URL, PropertyMode.WISHED); this.serviceRules.add("service.guide.technical", URL, PropertyMode.WISHED);