Skip to content

Commit

Permalink
removed lambda expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
ldetmer committed Aug 22, 2024
1 parent 9cdab69 commit 7493d89
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,12 @@ public void testHttpRequestPassesWhenMakingRequestToGoogleSite() throws Exceptio
.getHttpClient()
.execute(
httpGet,
response -> {
assertEquals(200, response.getCode());
return null;
new HttpClientResponseHandler<Void>() {
@Override
public Void handleResponse(ClassicHttpResponse response) {
assertEquals(200, response.getCode());
return null;
}
});
}
}

0 comments on commit 7493d89

Please sign in to comment.