From c4b5f5ec2c8e9a9a82bca86648f40596522823d4 Mon Sep 17 00:00:00 2001 From: Jacques Le Roux Date: Sat, 13 Jun 2020 09:41:59 +0200 Subject: [PATCH] Test locally <> --- build.gradle | 2 +- .../java/org/apache/ofbiz/webapp/control/RequestHandler.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index edb935c410..88e9fd5f1a 100644 --- a/build.gradle +++ b/build.gradle @@ -293,7 +293,7 @@ checkstyle { showViolations = false } gitHooks { - hooks = ['pre-commit': 'checkstyleMain'] + hooks = ['pre-push': 'checkstyleMain'] } // Eclipse plugin settings diff --git a/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java b/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java index 72ee26d6d9..8a48ca7a84 100644 --- a/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java +++ b/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java @@ -100,7 +100,7 @@ public class RequestHandler { private RequestHandler(ServletContext context) { // init the ControllerConfig, but don't save it anywhere, just load it into the cache - this.controllerConfigURL = ConfigXMLReader.getControllerConfigURL(context); + this.controllerConfigURL = ConfigXMLReader.getControllerConfigURL(context); try { ConfigXMLReader.getControllerConfig(this.controllerConfigURL); } catch (WebAppConfigurationException e) {