Skip to content

Commit

Permalink
more javadoc changes
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbae committed Jul 23, 2018
1 parent 81a065f commit 7ec6fcc
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/main/java/com/microsoft/sqlserver/jdbc/Geography.java
Original file line number Diff line number Diff line change
Expand Up @@ -131,15 +131,15 @@ public static Geography parse(String wkt) throws SQLServerException {
}

/**
* Constructor for a Geography instance that represents a Point instance from its X and Y values and a Spatial
* Reference Identifier.
* Constructor for a Geography instance that represents a Point instance from its latitude and longitude values and
* a Spatial Reference Identifier.
*
* @param x
* x coordinate
* longitude
* @param y
* y coordinate
* latitude
* @param srid
* Spatial Reference Identifier Spatial Reference Identifier value
* Spatial Reference Identifier value
* @return Geography Geography instance
* @throws SQLServerException
* if an exception occurs
Expand Down Expand Up @@ -212,9 +212,9 @@ public boolean hasZ() {
}

/**
* Returns the X coordinate value.
* Returns the latitude value.
*
* @return double value that represents the X coordinate.
* @return double value that represents the latitude.
*/
public Double getLatitude() {
if (null != internalType && internalType == InternalSpatialDatatype.POINT && xValues.length == 1) {
Expand All @@ -224,9 +224,9 @@ public Double getLatitude() {
}

/**
* Returns the Y coordinate value.
* Returns the longitude value.
*
* @return double value that represents the Y coordinate.
* @return double value that represents the longitude.
*/
public Double getLongitude() {
if (null != internalType && internalType == InternalSpatialDatatype.POINT && yValues.length == 1) {
Expand Down

0 comments on commit 7ec6fcc

Please sign in to comment.