Skip to content

Commit

Permalink
Update concepts/switch-statement/about.md
Browse files Browse the repository at this point in the history
Co-authored-by: Kah Goh <[email protected]>
  • Loading branch information
josealonso and kahgoh authored Jan 3, 2025
1 parent f08d614 commit 6a8fb92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion concepts/switch-statement/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ Starting with Java 14 (available as a preview before in Java 12 and 13) it is po
No more confusion!


Check failure on line 148 in concepts/switch-statement/about.md

View workflow job for this annotation

GitHub Actions / Lint Markdown files

Multiple consecutive blank lines

concepts/switch-statement/about.md:148 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2] https://github.com/DavidAnson/markdownlint/blob/v0.37.2/doc/md012.md
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();
Expand Down

0 comments on commit 6a8fb92

Please sign in to comment.