Fix typo. Thanks Tim!

This commit is contained in:
Michael Bayne
2011-11-19 16:45:25 -08:00
parent cc5e599235
commit 274dd1858d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ public class Line extends AbstractLine implements Serializable
* Sets the start and end of this line to the specified points.
*/
public void setLine (IPoint p1, IPoint p2) {
setLine(p1.x(), p1.y(), p2.y(), p2.y());
setLine(p1.x(), p1.y(), p2.x(), p2.y());
}
@Override // from interface ILine
+1 -1
View File
@@ -57,7 +57,7 @@ public class Line extends AbstractLine implements Serializable
* Sets the start and end of this line to the specified points.
*/
public void setLine (IPoint p1, IPoint p2) {
setLine(p1.x(), p1.y(), p2.y(), p2.y());
setLine(p1.x(), p1.y(), p2.x(), p2.y());
}
@Override // from interface ILine