From ee36e3b72b53b12c93138a5fd0311127f0aedfb0 Mon Sep 17 00:00:00 2001 From: Chris Smowton Date: Fri, 22 Mar 2024 15:57:20 +0000 Subject: [PATCH] autoformat --- java/ql/lib/semmle/code/java/Statement.qll | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/java/ql/lib/semmle/code/java/Statement.qll b/java/ql/lib/semmle/code/java/Statement.qll index 0099ad36eb9..72344a3401c 100644 --- a/java/ql/lib/semmle/code/java/Statement.qll +++ b/java/ql/lib/semmle/code/java/Statement.qll @@ -559,7 +559,9 @@ class PatternCase extends SwitchCase { /** * Gets this case's sole pattern, if there is exactly one. */ - PatternExpr getUniquePattern() { result = unique(PatternExpr pe | pe = this.getPatternAtIndex(_)) } + PatternExpr getUniquePattern() { + result = unique(PatternExpr pe | pe = this.getPatternAtIndex(_)) + } /** Gets the guard applicable to this pattern case, if any. */ Expr getGuard() { result.isNthChildOf(this, -3) }