From 0640c04cf81672e54ee3fb36a11fdbca872a8459 Mon Sep 17 00:00:00 2001 From: Diego Valerio Camarda Date: Sun, 11 Jan 2015 18:56:13 +0100 Subject: [PATCH] reduced log --- src/main/java/org/dvcama/lodview/bean/OntologyBean.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/dvcama/lodview/bean/OntologyBean.java b/src/main/java/org/dvcama/lodview/bean/OntologyBean.java index 07dad5b..3e40c78 100644 --- a/src/main/java/org/dvcama/lodview/bean/OntologyBean.java +++ b/src/main/java/org/dvcama/lodview/bean/OntologyBean.java @@ -23,8 +23,7 @@ public class OntologyBean implements ServletContextAware { private ServletContext context; private Model model; - public void init() { - // TODO Auto-generated method stub + public void init() { File ontoDirFile = new File(ontoDir); if (!ontoDirFile.isAbsolute()) { ontoDirFile = new File(context.getRealPath("/") + "/WEB-INF/" + ontoDir); @@ -99,7 +98,7 @@ private String getSingleValue(String preferredLanguage, Resource IRI, String pro while (iter.hasNext()) { RDFNode node = iter.nextNode(); Literal l = node.asLiteral(); - System.out.println(IRI + " " + preferredLanguage + " --> " + l.getLanguage() + " --> " + l.getLexicalForm()); + //System.out.println(IRI + " " + preferredLanguage + " --> " + l.getLanguage() + " --> " + l.getLexicalForm()); if (!betterTitleMatch && (result.equals(defaultValue) || l.getLanguage().equals("en") || l.getLanguage().equals(preferredLanguage))) { if (preferredLanguage.equals(l.getLanguage())) { betterTitleMatch = true;