You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2019/12/04 13:03:49 UTC

[isis] 05/08: ISIS-2212: uses class literals in WebModuleLogOnExceptionLogger where possible

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

danhaywood pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git

commit 7ed4b10084837ed411ea7090c8359f4ec1e19fc5
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Wed Dec 4 12:39:56 2019 +0000

    ISIS-2212: uses class literals in WebModuleLogOnExceptionLogger where possible
---
 .../webapp/modules/logonlog/WebModuleLogOnExceptionLogger.java    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/core/runtime-web/src/main/java/org/apache/isis/webapp/modules/logonlog/WebModuleLogOnExceptionLogger.java b/core/runtime-web/src/main/java/org/apache/isis/webapp/modules/logonlog/WebModuleLogOnExceptionLogger.java
index ef757bb..5d98083 100644
--- a/core/runtime-web/src/main/java/org/apache/isis/webapp/modules/logonlog/WebModuleLogOnExceptionLogger.java
+++ b/core/runtime-web/src/main/java/org/apache/isis/webapp/modules/logonlog/WebModuleLogOnExceptionLogger.java
@@ -24,6 +24,7 @@ import javax.servlet.ServletContext;
 import javax.servlet.ServletContextListener;
 import javax.servlet.ServletException;
 
+import org.apache.isis.webapp.diagnostics.IsisLogOnExceptionFilter;
 import org.springframework.core.Ordered;
 import org.springframework.core.annotation.Order;
 import org.springframework.stereotype.Service;
@@ -44,10 +45,9 @@ import static org.apache.isis.commons.internal.exceptions._Exceptions.unexpected
 @Service @Order(Ordered.LOWEST_PRECEDENCE)
 public final class WebModuleLogOnExceptionLogger implements WebModule  {
 
-    private final static String LOGONLOGGER_FILTER_CLASS_NAME = 
-            "org.apache.isis.webapp.diagnostics.IsisLogOnExceptionFilter";
-    private final static String LOGONLOGGER_FILTER_NAME = 
-            "IsisLogOnExceptionFilter";
+    private final static String LOGONLOGGER_FILTER_CLASS_NAME = IsisLogOnExceptionFilter.class.getName();
+    private final static String LOGONLOGGER_FILTER_NAME = "IsisLogOnExceptionFilter";
+
     private WebModuleContext webModuleContext;