Skip to content

Commit

Permalink
reduced log
Browse files Browse the repository at this point in the history
  • Loading branch information
dvcama committed Jan 11, 2015
1 parent 2f41a0c commit 0640c04
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main/java/org/dvcama/lodview/bean/OntologyBean.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 0640c04

Please sign in to comment.