Skip to content

Commit 07d2ce7

Browse files
committed
Change pretty-printing of PatternCase
1 parent 5511955 commit 07d2ce7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

java/ql/lib/semmle/code/java/Statement.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,9 +551,9 @@ class PatternCase extends SwitchCase {
551551
/** Gets the guard applicable to this pattern case, if any. */
552552
Expr getGuard() { result.isNthChildOf(this, -3) }
553553

554-
override string pp() { result = "case T t ..." }
554+
override string pp() { result = "case <Pattern>" }
555555

556-
override string toString() { result = "case T t ..." }
556+
override string toString() { result = "case <Pattern>" }
557557

558558
override string getHalsteadID() { result = "PatternCase" }
559559

0 commit comments

Comments
 (0)