mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 18:15:55 +00:00
[jdk19] Add support for new guard pattern
This commit is contained in:
1 parent
646723f6d3
commit
957adfae2e
4 files changed
+77
-1
No files matched your search
@@ -1,4 +1,4 @@
|
||||
// version 17:
|
||||
// version 17:18
|
||||
public class Switch17 {
|
||||
String switchPatternMatching(Object o) {
|
||||
return switch (o) {
|
||||
|
||||
Reference in new issue
Block a user