type migration: to void: remove unused variables in simple cases IDEA-158196
authorDmitry Batkovich <dmitry.batkovich@jetbrains.com>
Mon, 15 Aug 2016 15:55:16 +0000 (18:55 +0300)
committerDmitry Batkovich <dmitry.batkovich@jetbrains.com>
Tue, 16 Aug 2016 07:08:35 +0000 (10:08 +0300)
commit63e73c1fe8f1de681bbafe5725d1e0f78ddb4753
treef84458f00454bc9c5bbf039ae37cbb6c375696fc
parentef5577ac0693b7dad5ba56a2d14c34c3fb98d20c
type migration: to void: remove unused variables in simple cases IDEA-158196
15 files changed:
java/java-impl/src/com/intellij/codeInsight/intention/impl/SplitDeclarationAction.java
java/java-impl/src/com/intellij/refactoring/typeMigration/TypeMigrationStatementProcessor.java
java/typeMigration/test/com/intellij/refactoring/TypeMigrationTest.java
java/typeMigration/testData/refactoring/typeMigration/voidMigrationInAssignment/after/Test.items [new file with mode: 0644]
java/typeMigration/testData/refactoring/typeMigration/voidMigrationInAssignment/after/test.java [new file with mode: 0644]
java/typeMigration/testData/refactoring/typeMigration/voidMigrationInAssignment/before/test.java [new file with mode: 0644]
java/typeMigration/testData/refactoring/typeMigration/voidMigrationInAssignmentFailed/after/Test.items [new file with mode: 0644]
java/typeMigration/testData/refactoring/typeMigration/voidMigrationInAssignmentFailed/after/test.java [new file with mode: 0644]
java/typeMigration/testData/refactoring/typeMigration/voidMigrationInAssignmentFailed/before/test.java [new file with mode: 0644]
java/typeMigration/testData/refactoring/typeMigration/voidMigrationInVarDecl/after/Test.items [new file with mode: 0644]
java/typeMigration/testData/refactoring/typeMigration/voidMigrationInVarDecl/after/test.java [new file with mode: 0644]
java/typeMigration/testData/refactoring/typeMigration/voidMigrationInVarDecl/before/test.java [new file with mode: 0644]
java/typeMigration/testData/refactoring/typeMigration/voidMigrationInVarDeclFailed/after/Test.items [new file with mode: 0644]
java/typeMigration/testData/refactoring/typeMigration/voidMigrationInVarDeclFailed/after/test.java [new file with mode: 0644]
java/typeMigration/testData/refactoring/typeMigration/voidMigrationInVarDeclFailed/before/test.java [new file with mode: 0644]