diff --git a/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java b/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java index 1639c06ce9..75db0d60a2 100644 --- a/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java +++ b/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java @@ -1371,14 +1371,16 @@ public void endVisit(LambdaExpression x, BlockScope blockScope) { createLambdaConstructor(x, info, innerLambdaClass, ctor, locals, synthArgs); // the method containing the lambda expression that the anonymous inner class delegates to, - // it corresponds directly to the lambda expression itself, produced by JDT as a helper method + // it corresponds directly to the lambda expression itself, produced by JDT as a helper + // method JMethod lambdaMethod = createLambdaMethod(x); // Now that we've added an implementation method for the lambda, we must create the inner - // class method that implements the target interface type that delegates to the target lambda - // method + // class method that implements the target interface type that delegates to the target + // lambda method JMethod samMethod = new JMethod(info, interfaceMethod.getName(), innerLambdaClass, - interfaceMethod.getType(), false, false, true, interfaceMethod.getAccess()); + interfaceMethod.getType(), false, false, true, + interfaceMethod.getAccess()); samMethod.setSynthetic(); // implements the SAM, e.g. Callback.onCallback(), Runnable.run(), etc