diff --git a/src/main/java/org/apache/commons/math3/geometry/euclidean/twod/Line.java b/src/main/java/org/apache/commons/math3/geometry/euclidean/twod/Line.java
index eea06ee7e..f4b7e7849 100644
--- a/src/main/java/org/apache/commons/math3/geometry/euclidean/twod/Line.java
+++ b/src/main/java/org/apache/commons/math3/geometry/euclidean/twod/Line.java
@@ -264,10 +264,10 @@ public class Line implements Hyperplane
- * If the perpendicular extension from the point to the line does not - * cross in the bounds of the line segment, the shortest distance to + * If the perpendicular extension from the point to the line does not + * cross in the bounds of the line segment, the shortest distance to * the two end points will be returned. *
- * - * Algorithm adapted from: http://www.codeguru.com/forum/printthread.php?s=cc8cf0596231f9a7dba4da6e77c29db3&t=194400&pp=15&page=1 + * + * Algorithm adapted from: + * + * Thread @ Codeguru + * + * @param p to check + * @return distance between the instance and the point */ public double distance(final Vector2D p) { final double deltaX = end.getX() - start.getX();