diff options
author | Roman Shevchenko <roman.shevchenko@jetbrains.com> | 2014-07-18 19:34:54 +0200 |
---|---|---|
committer | Roman Shevchenko <roman.shevchenko@jetbrains.com> | 2014-07-18 19:34:54 +0200 |
commit | 58427deb498ba9a0caff72db129d4cf41791d8e6 (patch) | |
tree | fbc4d7f283a3fc85ad3f8e3b04d4527c186f31e4 /src/de | |
parent | b3a1c412443b7b658e7a59cbe1f83c82a0f56901 (diff) | |
download | fernflower-58427deb498ba9a0caff72db129d4cf41791d8e6.tar fernflower-58427deb498ba9a0caff72db129d4cf41791d8e6.tar.gz fernflower-58427deb498ba9a0caff72db129d4cf41791d8e6.tar.lz fernflower-58427deb498ba9a0caff72db129d4cf41791d8e6.tar.xz fernflower-58427deb498ba9a0caff72db129d4cf41791d8e6.zip |
missing parentheses on default constructor invocation
Diffstat (limited to 'src/de')
-rw-r--r-- | src/de/fernflower/modules/decompiler/exps/NewExprent.java | 2 |
1 files changed, 1 insertions, 1 deletions
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; |