Move: Suggest empty package when moving to source root

This commit is contained in:
Alexey Sedunov
2015-06-18 19:15:34 +03:00
parent aef2443528
commit cd550ed5ba
@@ -216,7 +216,7 @@ public class MoveKotlinTopLevelDeclarationsDialog extends RefactoringDialog {
}
private void initPackageChooser(String targetPackageName, PsiDirectory targetDirectory) {
if (targetPackageName != null && targetPackageName.length() != 0) {
if (targetPackageName != null) {
classPackageChooser.prependItem(targetPackageName);
}