Skip to content

Commit 0557e2f

Browse files
committed
add missing space
1 parent ac01cc3 commit 0557e2f

File tree

1 file changed

+1
-1
lines changed
  • app/pages/learn/01_tutorial/03_getting-to-know-the-language/04_classes_objects

1 file changed

+1
-1
lines changed

app/pages/learn/01_tutorial/03_getting-to-know-the-language/04_classes_objects/01_enums.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ With [switch expressions](id:lang.classes-objects.switch-expression),
7575
the compiler can check whether all values of the enum are handled.
7676
If any possible value is missing in a switch expression, there will be a compiler error.
7777
This is referred to as exhaustiveness checking and can also be achieved with regular classes
78-
through [sealed classes](https://openjdk.org/jeps/409) and [patternmatching](/learn/pattern-matching/#switch).
78+
through [sealed classes](https://openjdk.org/jeps/409) and [pattern matching](/learn/pattern-matching/#switch).
7979

8080
```java
8181
DayOfWeek someDay = DayOfWeek.FRIDAY;

0 commit comments

Comments
 (0)