diff options
author | Alexander Kriegisch <Alexander@Kriegisch.name> | 2024-03-23 08:51:23 +0100 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2024-03-23 08:51:23 +0100 |
commit | 30d5e3fdccd06bda16c4f96006ebf30ea35837d7 (patch) | |
tree | 850557054870dd28f04c886344b8c21180ecacbf /tests/features1919 | |
parent | 9279adc198abe155e2973a78690b50eadd69bc2c (diff) | |
download | aspectj-30d5e3fdccd06bda16c4f96006ebf30ea35837d7.tar.gz aspectj-30d5e3fdccd06bda16c4f96006ebf30ea35837d7.zip |
Remove some TODOs from Java feature tests
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'tests/features1919')
-rw-r--r-- | tests/features1919/java19/RecordPatternsPreview1ExhaustivenessAspect.aj | 2 | ||||
-rw-r--r-- | tests/features1919/java19/RecordPatternsPreview1ExhaustivenessOK1.java | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/tests/features1919/java19/RecordPatternsPreview1ExhaustivenessAspect.aj b/tests/features1919/java19/RecordPatternsPreview1ExhaustivenessAspect.aj index 37c73788f..e8d47b9af 100644 --- a/tests/features1919/java19/RecordPatternsPreview1ExhaustivenessAspect.aj +++ b/tests/features1919/java19/RecordPatternsPreview1ExhaustivenessAspect.aj @@ -13,7 +13,6 @@ public aspect RecordPatternsPreview1ExhaustivenessAspect { switch (pair) { case Pair<I>(I i, C c) -> System.out.println("x"); case Pair<I>(I i, D d) -> System.out.println("y"); - // TODO: Remove redundant default clause when https://github.com/eclipse-jdt/eclipse.jdt.core/issues/455 has been fixed. // Fixed since Java 21, see features1921/java21/RecordPatternsPreview1ExhaustivenessAspect.aj. default -> System.out.println("z"); } @@ -22,7 +21,6 @@ public aspect RecordPatternsPreview1ExhaustivenessAspect { case Pair<I>(C c, I i) -> System.out.println("a"); case Pair<I>(D d, C c) -> System.out.println("b"); case Pair<I>(D d1, D d2) -> System.out.println("c"); - // TODO: remove redundant default clause when https://github.com/eclipse-jdt/eclipse.jdt.core/issues/455 has been fixed. // Fixed since Java 21, see features1921/java21/RecordPatternsPreview1ExhaustivenessAspect.aj. default -> System.out.println("d"); } diff --git a/tests/features1919/java19/RecordPatternsPreview1ExhaustivenessOK1.java b/tests/features1919/java19/RecordPatternsPreview1ExhaustivenessOK1.java index 1d1d9d4f3..cd9a89b38 100644 --- a/tests/features1919/java19/RecordPatternsPreview1ExhaustivenessOK1.java +++ b/tests/features1919/java19/RecordPatternsPreview1ExhaustivenessOK1.java @@ -10,7 +10,6 @@ public class RecordPatternsPreview1ExhaustivenessOK1 { switch (p2) { case Pair<I>(I i, C c) -> System.out.println("x"); case Pair<I>(I i, D d) -> System.out.println("y"); - // TODO: Remove redundant default clause when https://github.com/eclipse-jdt/eclipse.jdt.core/issues/455 has been fixed. // Fixed since Java 21, see features1921/java21/RecordPatternsPreview1ExhaustivenessOK1.java. default -> System.out.println("z"); } @@ -19,7 +18,6 @@ public class RecordPatternsPreview1ExhaustivenessOK1 { case Pair<I>(C c, I i) -> System.out.println("a"); case Pair<I>(D d, C c) -> System.out.println("b"); case Pair<I>(D d1, D d2) -> System.out.println("c"); - // TODO: Remove redundant default clause when https://github.com/eclipse-jdt/eclipse.jdt.core/issues/455 has been fixed. // Fixed since Java 21, see features1921/java21/RecordPatternsPreview1ExhaustivenessOK1.java. default -> System.out.println("d"); } |