Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Sawicki2012-04-18 01:50:07 -0400
committerKevin Sawicki2012-04-18 01:50:07 -0400
commit06edf7522520929bf987de78c20fc245f4ab1a3c (patch)
tree95b93a7e513c2682f1303b289da56933d92bbd63
parent6055c14acf8f5de6418404d6f6c3a53bd04dc920 (diff)
downloadegit-github-06edf7522520929bf987de78c20fc245f4ab1a3c.tar.gz
egit-github-06edf7522520929bf987de78c20fc245f4ab1a3c.tar.xz
egit-github-06edf7522520929bf987de78c20fc245f4ab1a3c.zip
Update iterator collection type in IssueTest
Page iterator now returns a RepositoryIssue collection instead of Issue. Change-Id: I370764abf9f78e101a7f138c3694eaa7eeec4429
-rw-r--r--org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/live/IssueTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/live/IssueTest.java b/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/live/IssueTest.java
index 9d6fd115..e8c0a70f 100644
--- a/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/live/IssueTest.java
+++ b/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/live/IssueTest.java
@@ -24,6 +24,7 @@ import java.util.Map;
import org.eclipse.egit.github.core.Issue;
import org.eclipse.egit.github.core.IssueEvent;
+import org.eclipse.egit.github.core.RepositoryIssue;
import org.eclipse.egit.github.core.client.PageIterator;
import org.eclipse.egit.github.core.service.IssueService;
import org.junit.Test;
@@ -179,7 +180,7 @@ public class IssueTest extends LiveTest {
public void pageCurrentUsersIssues() throws Exception {
checkUser();
IssueService service = new IssueService(client);
- Collection<Issue> issues = service.pageIssues(null, 1).next();
+ Collection<RepositoryIssue> issues = service.pageIssues(null, 1).next();
assertNotNull(issues);
assertEquals(1, issues.size());
assertNotNull(issues.toArray()[0]);

Back to the top