Return-Path: X-Original-To: apmail-marmotta-commits-archive@minotaur.apache.org Delivered-To: apmail-marmotta-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7673D105B3 for ; Sat, 2 Nov 2013 10:48:34 +0000 (UTC) Received: (qmail 9228 invoked by uid 500); 2 Nov 2013 10:48:26 -0000 Delivered-To: apmail-marmotta-commits-archive@marmotta.apache.org Received: (qmail 8950 invoked by uid 500); 2 Nov 2013 10:48:19 -0000 Mailing-List: contact commits-help@marmotta.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@marmotta.incubator.apache.org Delivered-To: mailing list commits@marmotta.incubator.apache.org Received: (qmail 8863 invoked by uid 99); 2 Nov 2013 10:48:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Nov 2013 10:48:16 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 02 Nov 2013 10:48:14 +0000 Received: (qmail 8800 invoked by uid 99); 2 Nov 2013 10:47:53 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Nov 2013 10:47:53 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 7386A39747; Sat, 2 Nov 2013 10:47:52 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: rpalmieri@apache.org To: commits@marmotta.incubator.apache.org Date: Sat, 02 Nov 2013 10:48:02 -0000 Message-Id: <02222721324240edb0832a85dc778b53@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [11/11] git commit: error init templating service, deleted unnecessary code X-Virus-Checked: Checked by ClamAV on apache.org 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 Authored: Sat Nov 2 11:38:00 2013 +0100 Committer: Raffaele Palmieri 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()); - } } /**