marmotta-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpalmi...@apache.org
Subject [11/11] git commit: error init templating service, deleted unnecessary code
Date Sat, 02 Nov 2013 10:48:02 GMT
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 <rpalmieri@apache.org>
Authored: Sat Nov 2 11:38:00 2013 +0100
Committer: Raffaele Palmieri <rpalmieri@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());
-        }
     }
 
     /**


Mime
View raw message