jdaugherty commented on code in PR #14875:
URL: https://github.com/apache/grails-core/pull/14875#discussion_r2188258549


##########
grails-gsp/grails-web-layout/src/main/groovy/org/apache/grails/web/layout/SpringMVCViewDecorator.java:
##########
@@ -0,0 +1,114 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *
+ *    https://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License.
+ */
+
+package org.apache.grails.web.layout;
+
+import groovy.text.Template;
+
+import java.util.Collections;
+import java.util.Map;
+
+import jakarta.servlet.ServletContext;
+import jakarta.servlet.http.HttpServletRequest;
+import jakarta.servlet.http.HttpServletResponse;
+
+import org.grails.web.util.GrailsApplicationAttributes;
+import org.grails.web.servlet.view.AbstractGrailsView;
+import org.grails.web.util.WebUtils;
+import org.springframework.web.servlet.View;
+import org.springframework.web.servlet.view.AbstractUrlBasedView;
+
+import com.opensymphony.module.sitemesh.HTMLPage;
+import com.opensymphony.module.sitemesh.RequestConstants;
+import com.opensymphony.module.sitemesh.mapper.DefaultDecorator;
+import com.opensymphony.sitemesh.Content;
+import com.opensymphony.sitemesh.SiteMeshContext;
+import com.opensymphony.sitemesh.webapp.SiteMeshWebAppContext;
+
+/**
+ * Encapsulates the logic for rendering a layout.
+ *
+ * @author Graeme Rocher
+ * @since 2.0
+ */
+public class SpringMVCViewDecorator extends DefaultDecorator implements 
com.opensymphony.sitemesh.Decorator {
+    private View view;

Review Comment:
   FYI: I increased the class header blank lines to 1 in my intellij code 
style.  Just documenting that this isn't the default with intellij's code 
formatting.  We really need to setup spotless to just prevent this going 
forward.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@grails.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to