Mentions légales du service

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

- added @SuppressWarnings("deprecation") annotations

parent 7eee215c
No related branches found
No related tags found
No related merge requests found
......@@ -116,6 +116,7 @@ public class OWLAPIAlignment extends ObjectAlignment {
throw new AlignmentException("arguments must be OWLEntities");
return super.addAlignCell( ob1, ob2 );
};
@SuppressWarnings("deprecation")
public Cell createCell(String id, Object ob1, Object ob2, Relation relation, double measure) throws AlignmentException {
return (Cell)new OWLAPICell( id, (OWLEntity)ob1, (OWLEntity)ob2, relation, measure); //[W:Deprecated]
}
......@@ -177,6 +178,7 @@ public class OWLAPIAlignment extends ObjectAlignment {
* This is a clone with the URI instead of OWLAPI objects
*
*/
@SuppressWarnings("deprecation")
public URIAlignment toURIAlignment() throws AlignmentException {
URIAlignment align = new URIAlignment();
align.init( getOntology1URI(), getOntology2URI() );
......
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