Skip to content

Commit 2a3f746

Browse files
sangyongchoichristophstrobl
authored andcommitted
Update GeoJsonPoint Javadoc.
Mention x -> longitude, y -> latitude relation. Closes: #3956
1 parent 90b8ba7 commit 2a3f746

File tree

1 file changed

+2
-2
lines changed
  • spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo

1 file changed

+2
-2
lines changed

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo/GeoJsonPoint.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ public class GeoJsonPoint extends Point implements GeoJson<List<Double>> {
3636
/**
3737
* Creates {@link GeoJsonPoint} for given coordinates.
3838
*
39-
* @param x
40-
* @param y
39+
* @param x : longitude
40+
* @param y : latitude
4141
*/
4242
public GeoJsonPoint(double x, double y) {
4343
super(x, y);

0 commit comments

Comments
 (0)