Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/github/internal/Issue.java')
-rw-r--r--org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/github/internal/Issue.java14
1 files changed, 10 insertions, 4 deletions
diff --git a/org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/github/internal/Issue.java b/org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/github/internal/Issue.java
index e669393c..80640f26 100644
--- a/org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/github/internal/Issue.java
+++ b/org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/github/internal/Issue.java
@@ -15,7 +15,7 @@ import java.util.List;
/**
* GitHub issue class.
- *
+ *
* @author Kevin Sawicki (kevin@github.com)
*/
public class Issue {
@@ -52,21 +52,27 @@ public class Issue {
* @return closedAt
*/
public Date getClosedAt() {
- return this.closedAt;
+ // see EI_EXPOSE_REP at
+ // http://findbugs.sourceforge.net/bugDescriptions.html
+ return new Date(this.closedAt.getTime());
}
/**
* @return createdAt
*/
public Date getCreatedAt() {
- return this.createdAt;
+ // see EI_EXPOSE_REP at
+ // http://findbugs.sourceforge.net/bugDescriptions.html
+ return new Date(this.createdAt.getTime());
}
/**
* @return updatedAt
*/
public Date getUpdatedAt() {
- return this.updatedAt;
+ // see EI_EXPOSE_REP at
+ // http://findbugs.sourceforge.net/bugDescriptions.html
+ return new Date(this.updatedAt.getTime());
}
/**

Back to the top