You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@jena.apache.org by GitBox <gi...@apache.org> on 2020/04/30 15:28:54 UTC

[GitHub] [jena] lrncfly commented on a change in pull request #737: JENA-1891: Correct StrMinLength and StrMaxLength messages

lrncfly commented on a change in pull request #737:
URL: https://github.com/apache/jena/pull/737#discussion_r418096528



##########
File path: jena-shacl/src/main/java/org/apache/jena/shacl/engine/constraint/StrMinLengthConstraint.java
##########
@@ -45,7 +45,7 @@ public ReportItem validate(ValidationContext vCxt, Node n) {
         String str = NodeFunctions.str(n);
         if ( str.length() >= minLength )
             return null;
-        String msg = toString()+": String too long: "+str;
+        String msg = toString()+": String not long enough: "+str;

Review comment:
       My fix was `String too short`




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org
For additional commands, e-mail: pr-help@jena.apache.org