Skip to content

Commit

Permalink
Merge pull request #21 from listaction/master
Browse files Browse the repository at this point in the history
calling the field isEwsMatch causes jackson deserialization to fail and eat the field / error out
  • Loading branch information
DuncanBeutler authored Apr 29, 2021
2 parents 5532ea4 + 8219e00 commit f6472f8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 30 deletions.
25 changes: 0 additions & 25 deletions smartystreets-java-sdk.iml

This file was deleted.

6 changes: 3 additions & 3 deletions src/main/java/com/smartystreets/api/us_street/Analysis.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class Analysis {
private String active;

@Key("ews_match")
private boolean isEwsMatch;
private boolean ewsMatch;

@Key("footnotes")
private String footnotes;
Expand All @@ -39,7 +39,7 @@ public class Analysis {
private String lacsLinkIndicator;

@Key("suitelink_match")
private boolean isSuiteLinkMatch;
private boolean suiteLinkMatch;

//endregion

Expand Down Expand Up @@ -86,7 +86,7 @@ public String getLacsLinkIndicator() {
}

public boolean isSuiteLinkMatch() {
return this.isSuiteLinkMatch;
return this.suiteLinkMatch;
}

//endregion
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/smartystreets/api/us_street/Metadata.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public class Metadata {
private boolean obeysDst;

@Key("ews_match")
private boolean isEwsMatch;
private boolean ewsMatch;

//endregion

Expand Down Expand Up @@ -128,7 +128,7 @@ public boolean obeysDst() {
}

public boolean isEwsMatch() {
return this.isEwsMatch;
return this.ewsMatch;
}


Expand Down

0 comments on commit f6472f8

Please sign in to comment.