fixining what IDEA formatter did

This commit is contained in:
Alex Tkachman
2012-08-30 14:57:04 +03:00
parent d38b028768
commit 59958ea0de
@@ -1104,8 +1104,7 @@ public class ImplementationBodyCodegen extends ClassBodyCodegen {
iv.aconst(enumConstant.getName());
iv.iconst(ordinal);
if (delegationSpecifiers.size() == 1 && !
enumEntryNeedSubclass(state.getBindingContext(), enumConstant)) {
if (delegationSpecifiers.size() == 1 && !enumEntryNeedSubclass(state.getBindingContext(), enumConstant)) {
final JetDelegationSpecifier specifier = delegationSpecifiers.get(0);
if (specifier instanceof JetDelegatorToSuperCall) {
final JetDelegatorToSuperCall superCall = (JetDelegatorToSuperCall) specifier;