diff --git a/src/fr/inrialpes/exmo/align/impl/BasicRelation.java b/src/fr/inrialpes/exmo/align/impl/BasicRelation.java index 20e7b5792c03d847e8de3dc43492db3a2dc6b642..ec677cfbfaa1678e3f870fc110c5f3d5d8174e9f 100644 --- a/src/fr/inrialpes/exmo/align/impl/BasicRelation.java +++ b/src/fr/inrialpes/exmo/align/impl/BasicRelation.java @@ -203,7 +203,7 @@ public class BasicRelation implements Relation { } /** Are the two relations equal **/ - @Override public boolean equals( Object o ) { + public boolean equals( Object o ) { if ( o == this ) return true; if ( o == null ) return false; if ( o instanceof Relation ) return equals( (Relation)o ); @@ -217,7 +217,7 @@ public class BasicRelation implements Relation { return ( relation.equals( r.getRelation() ) ); } - @Override public int hashCode() { + public int hashCode() { return 19+relation.hashCode(); } diff --git a/src/fr/inrialpes/exmo/align/impl/BitSetDisjunctiveRelation.java b/src/fr/inrialpes/exmo/align/impl/BitSetDisjunctiveRelation.java index 0384c25bf425ff28ad48268a22ca9afe28158173..25383f2082d0295b00aee2c026ddf8a01751ff09 100644 --- a/src/fr/inrialpes/exmo/align/impl/BitSetDisjunctiveRelation.java +++ b/src/fr/inrialpes/exmo/align/impl/BitSetDisjunctiveRelation.java @@ -148,7 +148,7 @@ public abstract class BitSetDisjunctiveRelation<T extends BaseRelation> extends } /** Are the two relations equal **/ - @Override public boolean equals ( Object o ) { + public boolean equals ( Object o ) { if ( o == this ) return true; if ( o == null ) return false; if ( o instanceof Relation ) return equals( ((Relation)o) ); @@ -156,7 +156,7 @@ public abstract class BitSetDisjunctiveRelation<T extends BaseRelation> extends } // V5: This should be suppressed (code moved in the object method) - @Override public boolean equals ( Relation r ) { + public boolean equals ( Relation r ) { if ( r == this ) return true; if ( r == null ) return false; if ( r instanceof BitSetDisjunctiveRelation ) { @@ -164,7 +164,7 @@ public abstract class BitSetDisjunctiveRelation<T extends BaseRelation> extends } else return false; } - @Override public int hashCode() { + public int hashCode() { return 3221+relset.hashCode(); } diff --git a/src/org/semanticweb/owl/align/Cell.java b/src/org/semanticweb/owl/align/Cell.java index a95b15b68ce4ef7fb1e1dc61b67a442ad5672abe..8b27e4180e0c75ac3e19d34b70dd72681fb88c94 100644 --- a/src/org/semanticweb/owl/align/Cell.java +++ b/src/org/semanticweb/owl/align/Cell.java @@ -69,7 +69,7 @@ public interface Cell extends Comparable<Cell>, Visitable { public void setRelation( Relation r ); public double getStrength(); public void setStrength( double m ); - // V5: This is a bad choice to have introduced this here + // V5: This is a bad choice to have introduced this here: must be deprecated public boolean equals( Cell c ); /**