diff options
author | Roel Spilker <r.spilker@gmail.com> | 2020-07-09 22:49:21 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2020-07-09 22:49:21 +0200 |
commit | 2e08e49ed77228527f74104611fb90e5d64492d7 (patch) | |
tree | 0bc7f74aad54586c3fdc4540cb561103b4de22e4 /src/delombok | |
parent | ab7970b259336d4e344a7bb11ee9e3d3e2acde5d (diff) | |
download | lombok-2e08e49ed77228527f74104611fb90e5d64492d7.tar.gz lombok-2e08e49ed77228527f74104611fb90e5d64492d7.tar.bz2 lombok-2e08e49ed77228527f74104611fb90e5d64492d7.zip |
fix typo in printing switch expressions
Diffstat (limited to 'src/delombok')
-rw-r--r-- | src/delombok/lombok/delombok/PrettyPrinter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/delombok/lombok/delombok/PrettyPrinter.java b/src/delombok/lombok/delombok/PrettyPrinter.java index 238dd379..208b215f 100644 --- a/src/delombok/lombok/delombok/PrettyPrinter.java +++ b/src/delombok/lombok/delombok/PrettyPrinter.java @@ -1614,7 +1614,7 @@ public class PrettyPrinter extends JCTree.Visitor { printAnnotatedType0(tree); } else if (className.endsWith("$JCPackageDecl")) { // Starting with JDK9, this is inside the import list, but we've already printed it. Just ignore it. - } else if (className.endsWith(".JCSwitchExpression")) { // Introduced as preview feature in JDK12 + } else if (className.endsWith("$JCSwitchExpression")) { // Introduced as preview feature in JDK12 printSwitchExpression(tree); } else if (className.endsWith("$JCYield")) { // Introduced as preview feature in JDK13, part of switch expressions. printYieldExpression(tree); |