diff --git a/bots/pr/src/main/java/org/openjdk/skara/bots/pr/PullRequestCheckIssueVisitor.java b/bots/pr/src/main/java/org/openjdk/skara/bots/pr/PullRequestCheckIssueVisitor.java index e85cbe724..b37230e8e 100644 --- a/bots/pr/src/main/java/org/openjdk/skara/bots/pr/PullRequestCheckIssueVisitor.java +++ b/bots/pr/src/main/java/org/openjdk/skara/bots/pr/PullRequestCheckIssueVisitor.java @@ -280,19 +280,19 @@ public void visit(IssuesIssue issue) { @Override public void visit(ExecutableIssue issue) { - addMessage(issue.check(), String.format("Executable files are not allowed (file: %s)", issue.path()), issue.severity()); + addMessage(issue.check(), String.format("Patch contains executable files (file: %s)", issue.path()), issue.severity()); setNotReadyForReviewOnError(issue.severity()); } @Override public void visit(SymlinkIssue issue) { - addMessage(issue.check(), String.format("Symbolic links are not allowed (file: %s)", issue.path()), issue.severity()); + addMessage(issue.check(), String.format("Patch contains symbolic links (file: %s)", issue.path()), issue.severity()); setNotReadyForReviewOnError(issue.severity()); } @Override public void visit(BinaryIssue issue) { - addMessage(issue.check(), String.format("Binary files are not allowed (file: %s)", issue.path()), issue.severity()); + addMessage(issue.check(), String.format("Patch contains binary files (file: %s)", issue.path()), issue.severity()); setNotReadyForReviewOnError(issue.severity()); }