don't try to get the parent of an empty FQ name (EA-73459 - ISE: FqName.parent)

#KT-9162 Fixed
This commit is contained in:
Dmitry Jemerov
2015-09-29 14:38:19 +02:00
parent c9843f6387
commit 9c6f206606
@@ -297,7 +297,7 @@ public class JetRunConfiguration extends ModuleBasedConfiguration<RunConfigurati
@Override
public String suggestedName() {
if (MAIN_CLASS_NAME == null) {
if (StringUtil.isEmpty(MAIN_CLASS_NAME)) {
return null;
}
return StringUtil.trimEnd(MAIN_CLASS_NAME,