From 6a8fb92bde47522947563fd0b4b2fe72bddc2bfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Ram=C3=B3n=20=28JR=29?= Date: Sat, 4 Jan 2025 00:32:12 +0100 Subject: [PATCH] Update concepts/switch-statement/about.md Co-authored-by: Kah Goh --- concepts/switch-statement/about.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/concepts/switch-statement/about.md b/concepts/switch-statement/about.md index 73cee56c4..3ed088359 100644 --- a/concepts/switch-statement/about.md +++ b/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 No more confusion! -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. ```java String dayOfMonth = getDayOfMonth();