Commit baa79d57 authored by Guus der Kinderen's avatar Guus der Kinderen Committed by daryl herzmann

OF-1125: Fix StreamId equals() (#589)

parent a6024d80
......@@ -80,8 +80,11 @@ public class BasicStreamIDFactory implements StreamIDFactory {
}
@Override
public boolean equals(Object obj) {
return id.equals( obj );
public boolean equals( Object o )
{
if ( this == o ) return true;
if ( o == null || getClass() != o.getClass() ) return false;
return id.equals( ((BasicStreamID) o).id );
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment