You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by jd...@apache.org on 2026/10/16 17:42:04 UTC

(grails-core) branch 9.0.x updated: Keep the deprecated getCurrentStrackReference alias on the path capturing writer

This is an automated email from the ASF dual-hosted git repository.

jdaugherty pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git


The following commit(s) were added to refs/heads/9.0.x by this push:
     new 91a05308d9 Keep the deprecated getCurrentStrackReference alias on the path capturing writer
91a05308d9 is described below

commit 91a05308d9c1f005e0340bcb7e474ea55c5968de
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Fri Oct 16 13:41:22 2026 -0400

    Keep the deprecated getCurrentStrackReference alias on the path capturing writer
    
    The merge of the rename into 9.0.x also renamed the deprecated alias, leaving
    two getCurrentStackReference methods. Restore the misspelled name on the alias
    so it keeps delegating to the correctly spelled method.
---
 .../main/groovy/org/grails/web/json/PathCapturingJSONWriterWrapper.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/grails-web-common/src/main/groovy/org/grails/web/json/PathCapturingJSONWriterWrapper.java b/grails-web-common/src/main/groovy/org/grails/web/json/PathCapturingJSONWriterWrapper.java
index 17ce228add..4b572f541a 100644
--- a/grails-web-common/src/main/groovy/org/grails/web/json/PathCapturingJSONWriterWrapper.java
+++ b/grails-web-common/src/main/groovy/org/grails/web/json/PathCapturingJSONWriterWrapper.java
@@ -368,7 +368,7 @@ public class PathCapturingJSONWriterWrapper extends JSONWriter {
      * @deprecated the name is misspelled, use {@link #getCurrentStackReference()}
      */
     @Deprecated
-    public String getCurrentStackReference() {
+    public String getCurrentStrackReference() {
         return getCurrentStackReference();
     }
 }