From ceffee678c62d4d5f01844a17623b94b6d63768e Mon Sep 17 00:00:00 2001 From: James Daugherty Date: Mon, 30 Dec 2024 09:39:09 -0500 Subject: [PATCH] fix #13945 - restore imports --- .../web/ControllerActionTransformer.java | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/grails-plugin-controllers/src/main/groovy/org/grails/compiler/web/ControllerActionTransformer.java b/grails-plugin-controllers/src/main/groovy/org/grails/compiler/web/ControllerActionTransformer.java index c1d85d80414..56d137de155 100644 --- a/grails-plugin-controllers/src/main/groovy/org/grails/compiler/web/ControllerActionTransformer.java +++ b/grails-plugin-controllers/src/main/groovy/org/grails/compiler/web/ControllerActionTransformer.java @@ -90,11 +90,23 @@ import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.net.URL; -import java.util.*; +import java.util.ArrayList; +import java.util.Collection; +import java.util.HashMap; +import java.util.List; +import java.util.Map; import java.util.regex.Pattern; import static org.codehaus.groovy.ast.tools.GeneralUtils.*; -import static org.grails.compiler.injection.GrailsASTUtils.*; +import static org.grails.compiler.injection.GrailsASTUtils.applyDefaultMethodTarget; +import static org.grails.compiler.injection.GrailsASTUtils.applyMethodTarget; +import static org.grails.compiler.injection.GrailsASTUtils.buildGetMapExpression; +import static org.grails.compiler.injection.GrailsASTUtils.buildGetPropertyExpression; +import static org.grails.compiler.injection.GrailsASTUtils.buildSetPropertyExpression; +import static org.grails.compiler.injection.GrailsASTUtils.hasAnnotation; +import static org.grails.compiler.injection.GrailsASTUtils.hasParameters; +import static org.grails.compiler.injection.GrailsASTUtils.isInheritedFromTrait; +import static org.grails.compiler.injection.GrailsASTUtils.removeAnnotation; /** * Enhances controller classes by converting closures actions to method actions and binding