freemarker-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ddek...@apache.org
Subject incubator-freemarker git commit: (LOG should be final)
Date Tue, 04 Jul 2017 07:48:17 GMT
Repository: incubator-freemarker
Updated Branches:
  refs/heads/3 b230056e7 -> e462a3af7


(LOG should be final)


Project: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/commit/e462a3af
Tree: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/tree/e462a3af
Diff: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/diff/e462a3af

Branch: refs/heads/3
Commit: e462a3af783100b309de99565c1e68526227c875
Parents: b230056
Author: ddekany <ddekany@apache.org>
Authored: Tue Jul 4 09:48:02 2017 +0200
Committer: ddekany <ddekany@apache.org>
Committed: Tue Jul 4 09:48:02 2017 +0200

----------------------------------------------------------------------
 .../freemarker/spring/web/view/AbstractFreemarkerView.java       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/e462a3af/freemarker-spring/src/main/java/org/apache/freemarker/spring/web/view/AbstractFreemarkerView.java
----------------------------------------------------------------------
diff --git a/freemarker-spring/src/main/java/org/apache/freemarker/spring/web/view/AbstractFreemarkerView.java
b/freemarker-spring/src/main/java/org/apache/freemarker/spring/web/view/AbstractFreemarkerView.java
index 2996aa9..abd5e32 100644
--- a/freemarker-spring/src/main/java/org/apache/freemarker/spring/web/view/AbstractFreemarkerView.java
+++ b/freemarker-spring/src/main/java/org/apache/freemarker/spring/web/view/AbstractFreemarkerView.java
@@ -43,7 +43,7 @@ import org.springframework.web.servlet.view.AbstractTemplateView;
  */
 public abstract class AbstractFreemarkerView extends AbstractTemplateView {
 
-    private static Logger log = LoggerFactory.getLogger(AbstractFreemarkerView.class);
+    private static final Logger LOG = LoggerFactory.getLogger(AbstractFreemarkerView.class);
 
     /**
      * FreeMarker {@link Configuration} instance.
@@ -119,7 +119,7 @@ public abstract class AbstractFreemarkerView extends AbstractTemplateView
{
             getTemplate();
             return true;
         } catch (TemplateNotFoundException e) {
-            log.debug("No view found for URL: {}", getUrl());
+            LOG.debug("No view found for URL: {}", getUrl());
         } catch (MalformedTemplateNameException e) {
             throw new ApplicationContextException("Malformed template name: " + getUrl(),
e);
         } catch (ParseException e) {


Mime
View raw message