This is an automated email from the ASF dual-hosted git repository. borinquenkid pushed a commit to branch refactor/java-to-groovy-grails-web-common in repository https://gitbox.apache.org/repos/asf/grails-core.git
commit d45af4d9adb7301b8c795dc9461fa3bb6e5435ea Author: Walter Duque de Estrada <[email protected]> AuthorDate: Sat Oct 10 13:20:41 2026 -0500 fix: keep the Java-facing API of the converted grails-web-common classes The converted HiddenHttpMethod declared its String constants without 'public', which makes them Groovy properties with a private field; the Java sources of grails-controllers still read them directly. Declare them public static final as in the Java original. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --- .../src/main/groovy/org/grails/web/util/HiddenHttpMethod.groovy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/grails-web-common/src/main/groovy/org/grails/web/util/HiddenHttpMethod.groovy b/grails-web-common/src/main/groovy/org/grails/web/util/HiddenHttpMethod.groovy index 9dd9764a93..5156663e31 100644 --- a/grails-web-common/src/main/groovy/org/grails/web/util/HiddenHttpMethod.groovy +++ b/grails-web-common/src/main/groovy/org/grails/web/util/HiddenHttpMethod.groovy @@ -42,16 +42,16 @@ import grails.config.Settings final class HiddenHttpMethod { /** Default method parameter: <code>_method</code> */ - static final String DEFAULT_METHOD_PARAM = '_method' + public static final String DEFAULT_METHOD_PARAM = '_method' /** Spring Boot's equivalent of {@link Settings#WEB_HIDDEN_METHOD_FILTER_ENABLED}, also false by default. */ - static final String SPRING_FILTER_ENABLED = 'spring.mvc.hiddenmethod.filter.enabled' + public static final String SPRING_FILTER_ENABLED = 'spring.mvc.hiddenmethod.filter.enabled' /** * Request attribute carrying the method a request asked to be treated as, published by the dispatcher * when it resolves an override. */ - static final String OVERRIDDEN_METHOD_ATTRIBUTE = HiddenHttpMethod.getName() + '.METHOD' + public static final String OVERRIDDEN_METHOD_ATTRIBUTE = HiddenHttpMethod.getName() + '.METHOD' /** * The only methods a form may ask for: the three a browser cannot submit itself. Matches the set
