Skip to content

Commit

Permalink
#14 Remove @nullable annotations from GSON-created objects
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Oeing <[email protected]>
Signed-off-by: Gerd Zanker <[email protected]>
  • Loading branch information
coeing authored and GerdZanker committed Jan 7, 2021
1 parent 8db66fd commit cd310d9
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ public <TContent> TContent sendRequest(Request request, Class<TContent> response
contentResponse.getStatus());

try {
@Nullable
TContent content = GSON.fromJson(contentResponse.getContentAsString(), responseContentClass);
if (content == null) {
throw new ExecutionException(String.format("Received no content in response, expected type %s",
Expand Down

0 comments on commit cd310d9

Please sign in to comment.