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:21:06 UTC

[GitHub] [jena] afs opened a new pull request #737: JENA-1891: Correct StrMinLength and StrMaxLength messages

afs opened a new pull request #737:
URL: https://github.com/apache/jena/pull/737


   [JENA-1891](https://issues.apache.org/jira/browse/JENA-1891)


----------------------------------------------------------------
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


[GitHub] [jena] afs commented on pull request #737: JENA-1891: Correct StrMinLength and StrMaxLength messages

Posted by GitBox <gi...@apache.org>.
afs commented on pull request #737:
URL: https://github.com/apache/jena/pull/737#issuecomment-621924164


   Branch label is wrong.


----------------------------------------------------------------
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


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

Posted by GitBox <gi...@apache.org>.
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