Skip to content

Commit 6a8fb92

Browse files
josealonsokahgoh
andauthored
Update concepts/switch-statement/about.md
Co-authored-by: Kah Goh <[email protected]>
1 parent f08d614 commit 6a8fb92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

concepts/switch-statement/about.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ Starting with Java 14 (available as a preview before in Java 12 and 13) it is po
146146
No more confusion!
147147

148148

149-
In addition, a feature called `Guarded Patterns` was added, which allows you to do checks in the case label itself.
149+
In addition, a feature called `Guarded Patterns` was added in Java 21, which allows you to do checks in the case label itself.
150150

151151
```java
152152
String dayOfMonth = getDayOfMonth();

0 commit comments

Comments
 (0)