mirror of
https://github.com/jlengrand/github-api.git
synced 2026-04-05 00:11:22 +00:00
More refactoring
This commit is contained in:
@@ -181,7 +181,7 @@ public class GHNotificationStream implements Iterable<GHThread> {
|
||||
req.setHeader("If-Modified-Since", lastModified);
|
||||
|
||||
GitHubResponse<GHThread[]> response = req.withUrlPath(apiUrl)
|
||||
.fetchResponseArray(GHThread[].class);
|
||||
.fetchArrayResponse(GHThread[].class);
|
||||
threads = response.body();
|
||||
|
||||
if (threads == null) {
|
||||
|
||||
Reference in New Issue
Block a user