Skip to content

Commit

Permalink
JENA-1891 reversed resultMessage values
Browse files Browse the repository at this point in the history
  • Loading branch information
lrncfly committed Apr 29, 2020
1 parent 4ee52cc commit 39cc6a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public ReportItem validate(ValidationContext vCxt, Node n) {
String str = NodeFunctions.str(n);
if ( str.length() <= maxLength )
return null;
String msg = toString()+": String too short: "+str ;
String msg = toString()+": String too long: "+str ;
return new ReportItem(msg,n);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 too short: "+str;
return new ReportItem(msg, n);
}

Expand Down

0 comments on commit 39cc6a7

Please sign in to comment.