Skip to content

Commit 625aa1b

Browse files
committed
Changed extraTags from HashMap to Map
1 parent 2785258 commit 625aa1b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/com/locationiq/client/model/Location.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public class Location {
9191

9292
public static final String SERIALIZED_NAME_EXTRATAGS = "extratags";
9393
@SerializedName(SERIALIZED_NAME_EXTRATAGS)
94-
private HashMap<String, String> extraTags;
94+
private Map<String, String> extraTags;
9595

9696
public Location distance(BigDecimal distance) {
9797

@@ -445,7 +445,7 @@ public void setMatchquality(Matchquality matchquality) {
445445
this.matchquality = matchquality;
446446
}
447447

448-
public Location extraTags(HashMap<String, String> extraTags) {
448+
public Location extraTags(Map<String, String> extraTags) {
449449

450450
this.extraTags = extraTags;
451451
return this;
@@ -458,12 +458,12 @@ public Location extraTags(HashMap<String, String> extraTags) {
458458
@javax.annotation.Nullable
459459
@ApiModelProperty(value = "")
460460

461-
public HashMap<String, String> getExtraTags() {
461+
public Map<String, String> getExtraTags() {
462462
return extraTags;
463463
}
464464

465465

466-
public void setExtraTags(HashMap<String, String> extraTags) {
466+
public void setExtraTags(Map<String, String> extraTags) {
467467
this.extraTags = extraTags;
468468
}
469469

0 commit comments

Comments
 (0)