Skip to content

Commit

Permalink
Update FieldEnd.java
Browse files Browse the repository at this point in the history
Corrected Javadoc - the maxDistance is in metres not KM
  • Loading branch information
trishagee committed Feb 3, 2015
1 parent bb3ed1e commit ca4aa96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions morphia/src/main/java/org/mongodb/morphia/query/FieldEnd.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public interface FieldEnd<T> {
* These queries are only supported by MongoDB version 2.4 or greater.
*
* @param point the point to find results close to
* @param maxDistance the radius, in kilometers, to find the results inside
* @param maxDistance the radius, in meters, to find the results inside
* @return T
*/
T near(Point point, int maxDistance);
Expand All @@ -87,4 +87,4 @@ public interface FieldEnd<T> {
*/
T near(Point point);

}
}

0 comments on commit ca4aa96

Please sign in to comment.