From 02248b72f4788f07a985e232cfbed4491b45fe29 Mon Sep 17 00:00:00 2001 From: Colin Alworth Date: Wed, 5 Feb 2025 14:35:21 -0600 Subject: [PATCH] Wrap long lines --- .../src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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