Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrected logitude and latitude types[0.17.12]. #104

Open
wants to merge 4 commits into
base: 1.1.25
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions src/main/java/com/c8db/entity/DcInfoEntity.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Modifications copyright (c) 2023 Macrometa Corp All rights reserved.
*/

package com.c8db.entity;

import com.arangodb.velocypack.annotations.SerializedName;

/**
*
*/
public class DcInfoEntity implements Entity {

@SerializedName("_id")
Expand Down Expand Up @@ -149,8 +147,8 @@ public static class LocationInfo {
private String countryCode;
@SerializedName("countryname")
private String countryName;
private String latitude;
private String longitude;
private Double latitude;
private Double longitude;
private String name;

/**
Expand Down Expand Up @@ -198,14 +196,14 @@ public String getCountryName() {
/**
* @return the latitude
*/
public String getLatitude() {
public Double getLatitude() {
return latitude;
}

/**
* @return the longitude
*/
public String getLongitude() {
public Double getLongitude() {
return longitude;
}

Expand Down