Mentions légales du service

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

- fixed redundant casts

parent 5a753ec3
No related branches found
No related tags found
No related merge requests found
/* /*
* $Id$ * $Id$
* *
* Copyright (C) INRIA, 2004, 2008, 2011 * Copyright (C) INRIA, 2004, 2008, 2011-2012
* *
* 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
...@@ -36,7 +36,7 @@ import fr.inrialpes.exmo.align.impl.BasicRelation; ...@@ -36,7 +36,7 @@ import fr.inrialpes.exmo.align.impl.BasicRelation;
public class EquivRelation extends BasicRelation { public class EquivRelation extends BasicRelation {
public void accept( AlignmentVisitor visitor ) throws AlignmentException { public void accept( AlignmentVisitor visitor ) throws AlignmentException {
visitor.visit( (EquivRelation)this ); visitor.visit( this );
} }
static final String prettyLabel = "="; static final String prettyLabel = "=";
......
...@@ -727,13 +727,13 @@ public class RDFRendererVisitor extends IndentedRendererVisitor implements Align ...@@ -727,13 +727,13 @@ public class RDFRendererVisitor extends IndentedRendererVisitor implements Align
increaseIndent(); increaseIndent();
indentedOutputln("<"+SyntaxElement.TRENT1.print(DEF)+">"); indentedOutputln("<"+SyntaxElement.TRENT1.print(DEF)+">");
increaseIndent(); increaseIndent();
((ValueExpression)(transf.getObject1())).accept( this ); transf.getObject1().accept( this );
decreaseIndent(); decreaseIndent();
writer.print(NL); writer.print(NL);
indentedOutputln("</"+SyntaxElement.TRENT1.print(DEF)+">"); indentedOutputln("</"+SyntaxElement.TRENT1.print(DEF)+">");
indentedOutputln("<"+SyntaxElement.TRENT2.print(DEF)+">"); indentedOutputln("<"+SyntaxElement.TRENT2.print(DEF)+">");
increaseIndent(); increaseIndent();
((ValueExpression)(transf.getObject2())).accept( this ); transf.getObject2().accept( this );
decreaseIndent(); decreaseIndent();
writer.print(NL); writer.print(NL);
indentedOutputln("</"+SyntaxElement.TRENT2.print(DEF)+">"); indentedOutputln("</"+SyntaxElement.TRENT2.print(DEF)+">");
......
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