We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5fc066d commit b23d867Copy full SHA for b23d867
src/main/java/org/openmicroscopy/shoola/util/math/geom2D/Segment.java
@@ -123,8 +123,8 @@ public boolean lies(PlanePoint p)
123
*/
124
public boolean equals(Object o)
125
{
126
- if (o == null || !(o instanceof Line)) return false;
127
- Line other = (Line) o;
+ if (o == null || !(o instanceof Segment)) return false;
+ Segment other = (Segment) o;
128
return (origin == other.origin && direction == other.direction);
129
}
130
0 commit comments