allow products to have empty codename

This commit is contained in:
Dmitry Jemerov
2013-04-11 16:06:04 +02:00
parent 18d5d8f9a3
commit ae72670d91
@@ -199,7 +199,7 @@ public class ApplicationInfoImpl extends ApplicationInfoEx implements JDOMExtern
public String getVersionName() {
final String fullName = ApplicationNamesInfo.getInstance().getFullProductName();
if (myEAP) {
if (myEAP && !StringUtil.isEmptyOrSpaces(myCodeName)) {
return fullName + " (" + myCodeName + ")";
}
return fullName;