From 7feb5789d1eedd9e3b0ec88c5a8209e116e2b28e Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 20 Oct 2020 00:24:40 +0300 Subject: Clean up JDT warnings --- src/main/java/com/juick/www/api/apple/AppSiteAssociation.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main/java') diff --git a/src/main/java/com/juick/www/api/apple/AppSiteAssociation.java b/src/main/java/com/juick/www/api/apple/AppSiteAssociation.java index 2acd559e..c0827003 100644 --- a/src/main/java/com/juick/www/api/apple/AppSiteAssociation.java +++ b/src/main/java/com/juick/www/api/apple/AppSiteAssociation.java @@ -25,6 +25,8 @@ import org.springframework.web.bind.annotation.RestController; import java.util.Collections; import java.util.List; +import com.fasterxml.jackson.annotation.JsonProperty; + @RestController public class AppSiteAssociation { @Value("${ios_app_id:}") @@ -43,6 +45,7 @@ public class AppSiteAssociation { private class SiteAssociations { private WebCredentials webcredentials; + @JsonProperty public WebCredentials getWebcredentials() { return webcredentials; } @@ -55,6 +58,7 @@ public class AppSiteAssociation { private class WebCredentials { private List apps; + @JsonProperty public List getApps() { return apps; } -- cgit v1.2.3