Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Tsay2012-01-06 00:25:47 +0000
committerKevin Sawicki2012-01-06 00:25:47 +0000
commite270b86caa90a29fb9267bc2f0b2d4c65748fabc (patch)
tree9ea3c4b9d8a05aa54895f2e3e6502b53b4d0789e /org.eclipse.egit.github.core/src
parent77a95f0bf4207eb4d31a2314981f9d135d18e565 (diff)
downloadegit-github-e270b86caa90a29fb9267bc2f0b2d4c65748fabc.tar.gz
egit-github-e270b86caa90a29fb9267bc2f0b2d4c65748fabc.tar.xz
egit-github-e270b86caa90a29fb9267bc2f0b2d4c65748fabc.zip
Add missing id field to Issue model class
Change-Id: I76193b1577fce7ed86ba4bf04007d103d9ae48f6 Signed-off-by: Kevin Sawicki <kevin@github.com>
Diffstat (limited to 'org.eclipse.egit.github.core/src')
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/Issue.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/Issue.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/Issue.java
index 68bef6af..e927642a 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/Issue.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/Issue.java
@@ -25,6 +25,8 @@ public class Issue implements Serializable {
/** serialVersionUID */
private static final long serialVersionUID = 6358575015023539051L;
+ private long id;
+
private Date closedAt;
private Date createdAt;
@@ -331,6 +333,22 @@ public class Issue implements Serializable {
return this;
}
+ /**
+ * @return id
+ */
+ public long getId() {
+ return id;
+ }
+
+ /**
+ * @param id
+ * @return this issue
+ */
+ public Issue setId(long id) {
+ this.id = id;
+ return this;
+ }
+
@Override
public String toString() {
return "Issue " + number; //$NON-NLS-1$

Back to the top