From 3a86c33c2056561aaaa8ab45c2de2c40d47076bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Euzenat?= <Jerome.Euzenat@inria.fr> Date: Tue, 4 Feb 2014 10:01:52 +0000 Subject: [PATCH] - added comment about init() lack of return value --- src/org/semanticweb/owl/align/Alignment.java | 4 ++-- src/org/semanticweb/owl/align/AlignmentVisitor.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/org/semanticweb/owl/align/Alignment.java b/src/org/semanticweb/owl/align/Alignment.java index 40db049d..a1e47ada 100644 --- a/src/org/semanticweb/owl/align/Alignment.java +++ b/src/org/semanticweb/owl/align/Alignment.java @@ -1,7 +1,7 @@ /* * $Id$ * - * Copyright (C) INRIA, 2003-2005, 2007-2009 + * Copyright (C) INRIA, 2003-2005, 2007-2009, 2014 * * 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 @@ -41,7 +41,7 @@ import org.xml.sax.ContentHandler; public interface Alignment extends Cloneable, Iterable<Cell>, Visitable { /** Initialize the alignement before using it **/ - + /** This should return an Alignment and not be void **/ public void init( Object onto1, Object onto2 ) throws AlignmentException; /** diff --git a/src/org/semanticweb/owl/align/AlignmentVisitor.java b/src/org/semanticweb/owl/align/AlignmentVisitor.java index 7d3f227c..51285f89 100644 --- a/src/org/semanticweb/owl/align/AlignmentVisitor.java +++ b/src/org/semanticweb/owl/align/AlignmentVisitor.java @@ -1,7 +1,7 @@ /* * $Id$ * - * Copyright (C) INRIA, 2004, 2008-2009, 2012 + * Copyright (C) INRIA, 2004, 2008-2009, 2012, 2014 * * 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 @@ -30,7 +30,7 @@ import java.util.Properties; */ public interface AlignmentVisitor { - public void init( Properties p ); + public void init( Properties p ); // Should return it public void visit( Alignment o ) throws AlignmentException; public void visit( Cell o ) throws AlignmentException; public void visit( Relation o ) throws AlignmentException; -- GitLab