From 7d8f43965f6c70063e3b639ff2c315b453f165b1 Mon Sep 17 00:00:00 2001 From: Zhao Song Date: Thu, 11 Jul 2024 16:52:00 -0700 Subject: [PATCH] review comment --- .../java/org/openjdk/skara/bots/mlbridge/ArchiveWorkItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bots/mlbridge/src/main/java/org/openjdk/skara/bots/mlbridge/ArchiveWorkItem.java b/bots/mlbridge/src/main/java/org/openjdk/skara/bots/mlbridge/ArchiveWorkItem.java index 6df4d1f64..52cc0593d 100644 --- a/bots/mlbridge/src/main/java/org/openjdk/skara/bots/mlbridge/ArchiveWorkItem.java +++ b/bots/mlbridge/src/main/java/org/openjdk/skara/bots/mlbridge/ArchiveWorkItem.java @@ -153,7 +153,7 @@ private boolean ignoreComment(HostUser author, String body, ZonedDateTime create } if (bot.ignoredUsers().contains(author.username())) { if (pr.isOpen()) { - return !PullRequestConstants.READY_FOR_SPONSOR_MARKER_PATTERN.matcher(body).find() && pr.isOpen(); + return !PullRequestConstants.READY_FOR_SPONSOR_MARKER_PATTERN.matcher(body).find(); } else { return true; }