Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 66ff5861 authored by Jérôme Euzenat's avatar Jérôme Euzenat
Browse files

- suppressed useless comments

parent 22358057
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* *
* Copyright (C) 2006 Digital Enterprise Research Insitute (DERI) Innsbruck * Copyright (C) 2006 Digital Enterprise Research Insitute (DERI) Innsbruck
* Sourceforge version 1.7 - 2008 * Sourceforge version 1.7 - 2008
* Copyright (C) INRIA, 2008-2010, 2012-2013 * Copyright (C) INRIA, 2008-2010, 2012-2014
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by * it under the terms of the GNU Lesser General Public License as published by
...@@ -164,8 +164,6 @@ public class RDFParser { ...@@ -164,8 +164,6 @@ public class RDFParser {
public EDOALAlignment parse( final Model rdfmodel ) throws AlignmentException { public EDOALAlignment parse( final Model rdfmodel ) throws AlignmentException {
// Initialize the syntax description // Initialize the syntax description
initSyntax(); initSyntax();
// Shut up logging handling
//com.hp.hpl.jena.rdf.model.impl.RDFDefaultErrorHandler.silent = true;
// Get the statement including alignment resource as rdf:type // Get the statement including alignment resource as rdf:type
StmtIterator stmtIt = rdfmodel.listStatements(null, RDF.type,(Resource)SyntaxElement.getResource("Alignment")); StmtIterator stmtIt = rdfmodel.listStatements(null, RDF.type,(Resource)SyntaxElement.getResource("Alignment"));
// Take the first one if it exists // Take the first one if it exists
...@@ -176,7 +174,7 @@ public class RDFParser { ...@@ -176,7 +174,7 @@ public class RDFParser {
// If necessary type-check the alignment // If necessary type-check the alignment
if ( !speedparse ) alignment.accept( new TypeCheckingVisitor() ); if ( !speedparse ) alignment.accept( new TypeCheckingVisitor() );
// Clean up memory // Clean up memory
rdfmodel.close(); // JE: I am not sure that I will not have trouble with initSyntax rdfmodel.close();
return alignment; return alignment;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment