We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f08d614 commit 6a8fb92Copy full SHA for 6a8fb92
concepts/switch-statement/about.md
@@ -146,7 +146,7 @@ Starting with Java 14 (available as a preview before in Java 12 and 13) it is po
146
No more confusion!
147
148
149
-In addition, a feature called `Guarded Patterns` was added, which allows you to do checks in the case label itself.
+In addition, a feature called `Guarded Patterns` was added in Java 21, which allows you to do checks in the case label itself.
150
151
```java
152
String dayOfMonth = getDayOfMonth();
0 commit comments