Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManoj Palat2019-02-12 06:23:39 +0000
committerManoj Palat2019-02-12 06:23:39 +0000
commit8b1befa17adc8ec0a40ffe832faf1cb32315cb9a (patch)
treecd112aa7f30b9d5ff94620020f4d92831dcb263a /org.eclipse.jdt.core.tests.compiler/src
parentc4361ca3580b61ee11849f79c1b838c245b6cad8 (diff)
downloadeclipse.jdt.core-8b1befa17adc8ec0a40ffe832faf1cb32315cb9a.tar.gz
eclipse.jdt.core-8b1befa17adc8ec0a40ffe832faf1cb32315cb9a.tar.xz
eclipse.jdt.core-8b1befa17adc8ec0a40ffe832faf1cb32315cb9a.zip
Bug 544258 - [12] Warning shown for enum type if the switch expressionY20190213-2200Y20190213-0305
does not cover all possible input values
Diffstat (limited to 'org.eclipse.jdt.core.tests.compiler/src')
-rw-r--r--org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/SwitchExpressionTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/SwitchExpressionTest.java b/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/SwitchExpressionTest.java
index e3d78a2c57..975170e227 100644
--- a/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/SwitchExpressionTest.java
+++ b/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/SwitchExpressionTest.java
@@ -1711,7 +1711,7 @@ public class SwitchExpressionTest extends AbstractRegressionTest {
"1. ERROR in X.java (at line 4)\n" +
" today = switch (day) {\n" +
" ^^^\n" +
- "missing enum constant(s) in switch expression as all enum constants are required in case statements if there is no default case.\n" +
+ "A Switch expression should cover all possible values\n" +
"----------\n");
}
public void testBug544253() {

Back to the top