Java: Prevent extracting method from empty parentheses (IDEA-182482)

This commit is contained in:
Pavel Dolgov
2017-11-22 17:29:06 +03:00
parent c382ddb00b
commit 23fdeba082
3 changed files with 10 additions and 0 deletions
@@ -0,0 +1,5 @@
class ExtractEmptyBlock {
void foo() {
<selection>{}</selection>
}
}