Skip to content

Commit 3e12f99

Browse files
committed
chore: formatting
1 parent d336861 commit 3e12f99

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

src/main/java/org/jenkinsci/plugins/gwt/Renderer.java

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,18 @@ public static boolean isMatching(final String renderedRegexpFilterText, final St
2727
final boolean isMatching = compile(nullToEmpty(regexpFilterExpression)) //
2828
.matcher(nullToEmpty(renderedRegexpFilterText)) //
2929
.find();
30-
if (!isMatching) {
30+
if (isMatching) {
31+
LOGGER.log(
32+
FINE,
33+
"Triggering \"" + regexpFilterExpression + "\" matching \"" + renderedRegexpFilterText + "\".");
34+
} else {
3135
LOGGER.log(
3236
FINE,
3337
"Not triggering \""
3438
+ regexpFilterExpression
3539
+ "\" not matching \""
3640
+ renderedRegexpFilterText
3741
+ "\".");
38-
}else{
39-
LOGGER.log(
40-
FINE,
41-
"Triggering \""
42-
+ regexpFilterExpression
43-
+ "\" matching \""
44-
+ renderedRegexpFilterText
45-
+ "\".");
4642
}
4743
return isMatching;
4844
}

0 commit comments

Comments
 (0)