mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 13:02:30 +07:00
[java-highlighting] 'case default' is the incorrect syntax, and it was replaced with the proper 'default' syntax.
GitOrigin-RevId: d69adf33903bda7bb28090145fc57b690438281b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
dea129dd78
commit
2ab3cddf1f
@@ -14,7 +14,7 @@ class Main {
|
||||
System.out.println("something");
|
||||
yield "Six by nine"; // 42
|
||||
}
|
||||
case default -> "and more"; // other
|
||||
default -> "and more"; // other
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ class Main {
|
||||
System.out.println("something");
|
||||
yield "Six by nine";
|
||||
}
|
||||
default -> "and more";
|
||||
default -> "and more";
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ class C {
|
||||
case Rect(Point(double x1, double y1) point1, Point(double x2, double y2) point2):
|
||||
System.out.println();
|
||||
break;
|
||||
default:
|
||||
case default:
|
||||
System.out.println();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user