[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:
Mikhail Pyltsin
2023-07-14 10:33:29 +02:00
committed by intellij-monorepo-bot
parent dea129dd78
commit 2ab3cddf1f
3 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ class Main {
System.out.println("something");
yield "Six by nine"; // 42
}
case default -> "and more"; // other
default -> "and more"; // other
});
}
}

View File

@@ -7,7 +7,7 @@ class Main {
System.out.println("something");
yield "Six by nine";
}
default -> "and more";
default -> "and more";
});
}
}

View File

@@ -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();
}
}