From 161d547f32e14877a71502e436f5ac061470222b Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Thu, 7 Jan 2021 00:20:38 +0100 Subject: [PATCH] =?UTF-8?q?Changed=20*.socialnetworks.=E2=80=A6=20from=20W?= =?UTF-8?q?ISHED=20to=20OPTIONAL.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/fr/devinsy/statoolinfos/checker/PropertyChecker.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java b/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java index 31838d3..daee350 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.WISHED); + 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,7 @@ 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.WISHED); + this.organizationRules.add("organization.socialnetworks.…", "^organization\\.socialnetworks\\.\\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);