missing parentheses on default constructor invocation

This commit is contained in:
Roman Shevchenko
2014-07-18 19:34:54 +02:00
parent b3a1c41244
commit 58427deb49

View File

@@ -307,7 +307,7 @@ public class NewExprent extends Exprent {
}
int start = enumconst ? 2 : 0;
if(start < lstParameters.size()) {
if(!enumconst || start < lstParameters.size()) {
buf.append("(");
boolean firstpar = true;