From 2b6168baee654079790b7280836f83c6de881dd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Euzenat?= <Jerome.Euzenat@inria.fr> Date: Mon, 9 Jul 2012 14:53:48 +0000 Subject: [PATCH] - Fixed a display error in DiffEvaluator --- html/relnotes.html | 1 + src/fr/inrialpes/exmo/align/impl/eval/DiffEvaluator.java | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/html/relnotes.html b/html/relnotes.html index b3e77e92..032edb19 100644 --- a/html/relnotes.html +++ b/html/relnotes.html @@ -86,6 +86,7 @@ with a warning: <li>Simplified <tt>TestGen</tt> options (cli)</li> <li>Fixed server initialisation error with new log4j (server)</li> <li>Fixed a float parsing bug in <tt>XMLParser</tt> (parser)</li> +<li>Fixed a display error in <tt>DiffEvaluator</tt> (impl)</li> <li>Corrected bug with <tt>owl:inverseOf</tt> in OWL rendering (edoal)</li> <li>All documentation has now been revised in html and is not in the (outdated) manuals (html)</li> <li>Replaced version.txt and license.txt by pom.xml (lib)</li> diff --git a/src/fr/inrialpes/exmo/align/impl/eval/DiffEvaluator.java b/src/fr/inrialpes/exmo/align/impl/eval/DiffEvaluator.java index c4128e68..5d35ff1d 100644 --- a/src/fr/inrialpes/exmo/align/impl/eval/DiffEvaluator.java +++ b/src/fr/inrialpes/exmo/align/impl/eval/DiffEvaluator.java @@ -1,7 +1,7 @@ /* * $Id$ * - * Copyright (C) INRIA, 2010 + * Copyright (C) INRIA, 2010, 2012 * * 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 @@ -174,7 +174,7 @@ public class DiffEvaluator extends BasicEvaluator implements Evaluator { public void printAsCells ( String what, Set<Cell> set, PrintWriter writer ) { writer.println(" <"+what+" rdf:parseType=\"Collection\">"); - for ( Cell c : truepositive ){ + for ( Cell c : set ){ try { writer.println(" <Cell>"); writer.println(" <entity1 rdf:resource=\""+c.getObject1AsURI()+"\">"); -- GitLab