IPP: care for labels and blocks when replacing for loop with while (IDEA-163267)
authorBas Leijdekkers <basleijdekkers@gmail.com>
Tue, 1 Nov 2016 07:59:53 +0000 (08:59 +0100)
committerBas Leijdekkers <basleijdekkers@gmail.com>
Tue, 1 Nov 2016 08:29:01 +0000 (09:29 +0100)
commit994b0f84a98c42b90d4dea1ad53bafd29538eabd
tree34c8a065602f3982328ce289bc97d484b2eefdbf
parentc17ad02427b72b0ec9a5cf6874fcbec7c9869890
IPP: care for labels and blocks when replacing for loop with while (IDEA-163267)
plugins/IntentionPowerPak/src/com/siyeh/ipp/forloop/ReplaceForLoopWithWhileLoopIntention.java
plugins/IntentionPowerPak/test/com/siyeh/ipp/forloop/while_loop/DoubleLabelNoBraces.java [new file with mode: 0644]
plugins/IntentionPowerPak/test/com/siyeh/ipp/forloop/while_loop/DoubleLabelNoBraces_after.java [new file with mode: 0644]
plugins/IntentionPowerPak/test/com/siyeh/ipp/forloop/while_loop/LabeledForLoop.java [new file with mode: 0644]
plugins/IntentionPowerPak/test/com/siyeh/ipp/forloop/while_loop/LabeledForLoop_after.java [new file with mode: 0644]
plugins/IntentionPowerPak/test/com/siyeh/ipp/forloop/while_loop/NotInBlock.java [new file with mode: 0644]
plugins/IntentionPowerPak/test/com/siyeh/ipp/forloop/while_loop/NotInBlock_after.java [new file with mode: 0644]
plugins/IntentionPowerPak/test/com/siyeh/ipp/forloop/while_loop/UpdatingMuch.java [new file with mode: 0644]
plugins/IntentionPowerPak/test/com/siyeh/ipp/forloop/while_loop/UpdatingMuch_after.java [new file with mode: 0644]
plugins/IntentionPowerPak/testSrc/com/siyeh/ipp/forloop/ReplaceForLoopWithWhileLoopIntentionTest.java [new file with mode: 0644]