This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch trunk
in repository
https://gitbox.apache.org/repos/asf/ofbiz-framework.gitThe following commit(s) were added to refs/heads/trunk by this push:
new b42cd5f Improved: removes unused MODULE var in FreeMarkerViewHandler.java
b42cd5f is described below
commit b42cd5f188e08aa7953969ca0234c285d9522ca3
Author: Jacques Le Roux <
[hidden email]>
AuthorDate: Fri Aug 28 09:00:36 2020 +0200
Improved: removes unused MODULE var in FreeMarkerViewHandler.java
Also removes empty line in build.gradle
---
build.gradle | 2 --
.../main/java/org/apache/ofbiz/webapp/ftl/FreeMarkerViewHandler.java | 1 -
2 files changed, 3 deletions(-)
diff --git a/build.gradle b/build.gradle
index 55cd820..e61ba30 100644
--- a/build.gradle
+++ b/build.gradle
@@ -565,7 +565,6 @@ task generatePluginDocumentation(group: docsGroup) {
sourceDir file("${component}/src/docs/asciidoc")
outputDir file("${buildDir}/asciidoc/plugins/${component.name}")
doLast { println "Documentation generated for plugin ${component.name}" }
-
} else {
println "No documentation found for plugin ${component.name}"
}
@@ -601,7 +600,6 @@ task generateAllPluginsDocumentation(group: docsGroup,
mustRunAfter deleteAllPluginsDocumentation
doLast { delete "${component}/src/docs/asciidoc/images/OFBiz-Logo.svg" }
}
-
dependsOn pluginAsciidoc
}
doLast { delete "${component}/src/docs/asciidoc/images/OFBiz-Logo.svg" }
diff --git a/framework/webapp/src/main/java/org/apache/ofbiz/webapp/ftl/FreeMarkerViewHandler.java b/framework/webapp/src/main/java/org/apache/ofbiz/webapp/ftl/FreeMarkerViewHandler.java
index 5b26294..b4d07ba 100644
--- a/framework/webapp/src/main/java/org/apache/ofbiz/webapp/ftl/FreeMarkerViewHandler.java
+++ b/framework/webapp/src/main/java/org/apache/ofbiz/webapp/ftl/FreeMarkerViewHandler.java
@@ -44,7 +44,6 @@ import freemarker.template.TemplateException;
*/
public class FreeMarkerViewHandler extends AbstractViewHandler {
- private static final String MODULE = FreeMarkerViewHandler.class.getName();
private Configuration config = (Configuration) FreeMarkerWorker.getDefaultOfbizConfig().clone();
@Override