IDEA-155309 Complete statement does not work for `default` in `switch`
authorpeter <peter@jetbrains.com>
Sun, 1 May 2016 14:37:31 +0000 (16:37 +0200)
committerpeter <peter@jetbrains.com>
Mon, 2 May 2016 06:58:54 +0000 (08:58 +0200)
commitb7623be04fe348fb1603bd28cd4b53077d06fc45
tree2cd2a2bc215fdbc03863c80c496c021033eb3c2d
parenta19579a8d164a57460467ba87f8cd91f794abf86
IDEA-155309 Complete statement does not work for `default` in `switch`
java/java-impl/src/com/intellij/codeInsight/editorActions/smartEnter/JavaSmartEnterProcessor.java
java/java-impl/src/com/intellij/codeInsight/editorActions/smartEnter/SwitchLabelColonFixer.java [moved from java/java-impl/src/com/intellij/codeInsight/editorActions/smartEnter/CaseColonFixer.java with 71% similarity]
java/java-tests/testData/codeInsight/completeStatement/DefaultColon.java [new file with mode: 0644]
java/java-tests/testData/codeInsight/completeStatement/DefaultColon_after.java [new file with mode: 0644]
java/java-tests/testSrc/com/intellij/codeInsight/CompleteStatementTest.java