From 58427deb498ba9a0caff72db129d4cf41791d8e6 Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Fri, 18 Jul 2014 19:34:54 +0200 Subject: missing parentheses on default constructor invocation --- src/de/fernflower/modules/decompiler/exps/NewExprent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/fernflower/modules/decompiler/exps/NewExprent.java b/src/de/fernflower/modules/decompiler/exps/NewExprent.java index eaa49ae..22ee631 100644 --- a/src/de/fernflower/modules/decompiler/exps/NewExprent.java +++ b/src/de/fernflower/modules/decompiler/exps/NewExprent.java @@ -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; -- cgit v1.2.3