Skip to content

Commit

Permalink
Fix new PMD warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Sep 20, 2024
1 parent 5db511f commit 23fede2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class GroovyExpressionMatcher implements Serializable {
this.script = script;
}

@SuppressWarnings("PMD.AvoidSynchronizedStatement")
private boolean compileScriptIfNotYetDone() {
synchronized (script) {
if (compiled == null) {
Expand Down

0 comments on commit 23fede2

Please sign in to comment.