You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@marmotta.apache.org by rp...@apache.org on 2013/11/02 11:48:02 UTC

[11/11] git commit: error init templating service, deleted unnecessary code

error init templating service, deleted unnecessary code


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

Branch: refs/heads/develop
Commit: ee13391ee97d378515ccc6a6fcda67fc18173c59
Parents: 748539d
Author: Raffaele Palmieri <rp...@apache.org>
Authored: Sat Nov 2 11:38:00 2013 +0100
Committer: Raffaele Palmieri <rp...@apache.org>
Committed: Sat Nov 2 11:38:00 2013 +0100

----------------------------------------------------------------------
 .../core/services/templating/AdminTemplatingServiceImpl.java   | 6 ------
 1 file changed, 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/ee13391e/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/services/templating/AdminTemplatingServiceImpl.java
----------------------------------------------------------------------
diff --git a/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/services/templating/AdminTemplatingServiceImpl.java b/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/services/templating/AdminTemplatingServiceImpl.java
index 86c3d4e..b0c9db5 100644
--- a/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/services/templating/AdminTemplatingServiceImpl.java
+++ b/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/services/templating/AdminTemplatingServiceImpl.java
@@ -76,12 +76,6 @@ public class AdminTemplatingServiceImpl implements AdminInterfaceService {
     public void init(ServletContext context) throws TemplatingException {
         menu = buildMenu();
         this.context = context;
-        try {
-            //try-run to check it from the very beginning
-            templatingService.getTemplate(TemplatingService.ADMIN_TPL);
-        } catch (Exception e) {
-            throw new TemplatingException("Severe Error: admin template cannot be found: " + e.getMessage());
-        }
     }
 
     /**