From 1abb5bb3055dcb54d3ea13c4c09aa7a97f6901a3 Mon Sep 17 00:00:00 2001 From: karthik Date: Tue, 27 Apr 2021 20:32:34 -0700 Subject: [PATCH 1/2] calling the field isEwsMatch causes jackson deserialization to fail and eat the field --- src/main/java/com/smartystreets/api/us_street/Analysis.java | 2 +- src/main/java/com/smartystreets/api/us_street/Metadata.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/smartystreets/api/us_street/Analysis.java b/src/main/java/com/smartystreets/api/us_street/Analysis.java index 77af380..9447164 100644 --- a/src/main/java/com/smartystreets/api/us_street/Analysis.java +++ b/src/main/java/com/smartystreets/api/us_street/Analysis.java @@ -27,7 +27,7 @@ public class Analysis { private String active; @Key("ews_match") - private boolean isEwsMatch; + private boolean ewsMatch; @Key("footnotes") private String footnotes; diff --git a/src/main/java/com/smartystreets/api/us_street/Metadata.java b/src/main/java/com/smartystreets/api/us_street/Metadata.java index 2dc7c3f..1389e06 100644 --- a/src/main/java/com/smartystreets/api/us_street/Metadata.java +++ b/src/main/java/com/smartystreets/api/us_street/Metadata.java @@ -57,7 +57,7 @@ public class Metadata { private boolean obeysDst; @Key("ews_match") - private boolean isEwsMatch; + private boolean ewsMatch; //endregion @@ -128,7 +128,7 @@ public boolean obeysDst() { } public boolean isEwsMatch() { - return this.isEwsMatch; + return this.ewsMatch; } From 8219e001d629ea4a86aeb575fff18ddd34b9c999 Mon Sep 17 00:00:00 2001 From: karthik Date: Tue, 27 Apr 2021 21:11:17 -0700 Subject: [PATCH 2/2] similar issue with suiteLinkMatch --- smartystreets-java-sdk.iml | 25 ------------------- .../smartystreets/api/us_street/Analysis.java | 4 +-- 2 files changed, 2 insertions(+), 27 deletions(-) delete mode 100644 smartystreets-java-sdk.iml diff --git a/smartystreets-java-sdk.iml b/smartystreets-java-sdk.iml deleted file mode 100644 index 590b2ac..0000000 --- a/smartystreets-java-sdk.iml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/main/java/com/smartystreets/api/us_street/Analysis.java b/src/main/java/com/smartystreets/api/us_street/Analysis.java index 9447164..9dac2a3 100644 --- a/src/main/java/com/smartystreets/api/us_street/Analysis.java +++ b/src/main/java/com/smartystreets/api/us_street/Analysis.java @@ -39,7 +39,7 @@ public class Analysis { private String lacsLinkIndicator; @Key("suitelink_match") - private boolean isSuiteLinkMatch; + private boolean suiteLinkMatch; //endregion @@ -86,7 +86,7 @@ public String getLacsLinkIndicator() { } public boolean isSuiteLinkMatch() { - return this.isSuiteLinkMatch; + return this.suiteLinkMatch; } //endregion