Changes for src/main/java/fr/emse/gitlab/saref/jobs/ReadExamples.java: 3 added lines, 3 removed lines.
Original line number
Diff line number
Diff line
@@ -136,10 +136,10 @@ public class ReadExamples extends JobRunner {
Strings=entry.getKey();
Stringl=entry.getValue();
if(l.contains("saref")){
if(!l.matches(Constants.REGEX_ONTO_SERIES_URI)){
if(!l.matches(Constants.REGEX_ONTO_URI)){
logger.warn(String.format(
"Prefix `%s:` in the example file contains string \"saref\", but does not seem to match the official SAREF ontologies namespaces: `\\\\%s\\\\`. Got: `<%s>`",
s,Constants.REGEX_ONTO_SERIES_URI,l));
"Prefix `%s:` in the example file contains string \"saref\", but does not seem to match a SAREF ontologies namespace: `\\\\%s\\\\`. Got: `<%s>`",