aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Keppler2018-09-15 13:56:23 -0400
committerMichael Keppler2018-09-15 13:56:23 -0400
commit47ded5291b35401f1feda18856e76acdc88e4254 (patch)
tree22f06e96e428e3c3fa1048b0d1ed4a66cc01d8c5
parent6d253795d9f2a36a67608d215f7484e8acb486b4 (diff)
downloadegit-github-47ded5291b35401f1feda18856e76acdc88e4254.tar.gz
egit-github-47ded5291b35401f1feda18856e76acdc88e4254.tar.xz
egit-github-47ded5291b35401f1feda18856e76acdc88e4254.zip
Fix redundant interface warningsHEADmaster
Just remove all the Serialize interface declarations in *Payload, they are redundant. Change-Id: Ib3f31e6578c453963c385c0053a0d3691dfc2029 Signed-off-by: Michael Keppler <michael.keppler@gmx.de>
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/CommitCommentPayload.java5
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/CreatePayload.java4
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/DeletePayload.java4
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/DownloadPayload.java4
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/FollowPayload.java4
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/ForkApplyPayload.java4
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/ForkPayload.java4
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/GistPayload.java4
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/GollumPayload.java3
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/IssueCommentPayload.java4
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/IssuesPayload.java4
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/MemberPayload.java4
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/PublicPayload.java4
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/PullRequestPayload.java4
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/PullRequestReviewCommentPayload.java5
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/PushPayload.java3
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/ReleasePayload.java4
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/TeamAddPayload.java4
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/WatchPayload.java4
19 files changed, 19 insertions, 57 deletions
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/CommitCommentPayload.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/CommitCommentPayload.java
index d4de001b..318d97ed 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/CommitCommentPayload.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/CommitCommentPayload.java
@@ -12,15 +12,12 @@
*******************************************************************************/
package org.eclipse.egit.github.core.event;
-import java.io.Serializable;
-
import org.eclipse.egit.github.core.CommitComment;
/**
* CommitCommentEvent payload model class.
*/
-public class CommitCommentPayload extends EventPayload implements
- Serializable {
+public class CommitCommentPayload extends EventPayload {
private static final long serialVersionUID = -2606554911096551099L;
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/CreatePayload.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/CreatePayload.java
index 512ce8b1..96ed55a8 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/CreatePayload.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/CreatePayload.java
@@ -12,12 +12,10 @@
*******************************************************************************/
package org.eclipse.egit.github.core.event;
-import java.io.Serializable;
-
/**
* CreateEvent payload model class.
*/
-public class CreatePayload extends EventPayload implements Serializable {
+public class CreatePayload extends EventPayload {
private static final long serialVersionUID = -7033027645721954674L;
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/DeletePayload.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/DeletePayload.java
index 1c8df7ec..5a7405e0 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/DeletePayload.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/DeletePayload.java
@@ -12,12 +12,10 @@
*******************************************************************************/
package org.eclipse.egit.github.core.event;
-import java.io.Serializable;
-
/**
* DeleteEvent payload model class.
*/
-public class DeletePayload extends EventPayload implements Serializable {
+public class DeletePayload extends EventPayload {
private static final long serialVersionUID = -7571623946339106873L;
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/DownloadPayload.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/DownloadPayload.java
index 8b618684..7f07b7fd 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/DownloadPayload.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/DownloadPayload.java
@@ -12,14 +12,12 @@
*******************************************************************************/
package org.eclipse.egit.github.core.event;
-import java.io.Serializable;
-
import org.eclipse.egit.github.core.Download;
/**
* DownloadEvent payload model class.
*/
-public class DownloadPayload extends EventPayload implements Serializable {
+public class DownloadPayload extends EventPayload {
private static final long serialVersionUID = 4246935370658381214L;
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/FollowPayload.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/FollowPayload.java
index 7e37f7d5..5f0b1178 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/FollowPayload.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/FollowPayload.java
@@ -12,14 +12,12 @@
*******************************************************************************/
package org.eclipse.egit.github.core.event;
-import java.io.Serializable;
-
import org.eclipse.egit.github.core.User;
/**
* FollowEvent payload model class.
*/
-public class FollowPayload extends EventPayload implements Serializable {
+public class FollowPayload extends EventPayload {
private static final long serialVersionUID = -4345668254608800406L;
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/ForkApplyPayload.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/ForkApplyPayload.java
index 4065b726..a3415e10 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/ForkApplyPayload.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/ForkApplyPayload.java
@@ -12,12 +12,10 @@
*******************************************************************************/
package org.eclipse.egit.github.core.event;
-import java.io.Serializable;
-
/**
* ForkApplyEvent payload model class.
*/
-public class ForkApplyPayload extends EventPayload implements Serializable {
+public class ForkApplyPayload extends EventPayload {
private static final long serialVersionUID = -7527740351672699770L;
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/ForkPayload.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/ForkPayload.java
index d3f64609..9dd70ed5 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/ForkPayload.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/ForkPayload.java
@@ -12,14 +12,12 @@
*******************************************************************************/
package org.eclipse.egit.github.core.event;
-import java.io.Serializable;
-
import org.eclipse.egit.github.core.Repository;
/**
* ForkEvent payload model class.
*/
-public class ForkPayload extends EventPayload implements Serializable {
+public class ForkPayload extends EventPayload {
private static final long serialVersionUID = 2110456722558520113L;
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/GistPayload.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/GistPayload.java
index ddfcd4ea..a2f9a576 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/GistPayload.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/GistPayload.java
@@ -12,14 +12,12 @@
*******************************************************************************/
package org.eclipse.egit.github.core.event;
-import java.io.Serializable;
-
import org.eclipse.egit.github.core.Gist;
/**
* GistEvent payload model class.
*/
-public class GistPayload extends EventPayload implements Serializable {
+public class GistPayload extends EventPayload {
private static final long serialVersionUID = 8916400800708594462L;
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/GollumPayload.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/GollumPayload.java
index 797cfda8..a7b0b5e6 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/GollumPayload.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/GollumPayload.java
@@ -12,7 +12,6 @@
*******************************************************************************/
package org.eclipse.egit.github.core.event;
-import java.io.Serializable;
import java.util.List;
import org.eclipse.egit.github.core.GollumPage;
@@ -20,7 +19,7 @@ import org.eclipse.egit.github.core.GollumPage;
/**
* GollumEvent payload model class.
*/
-public class GollumPayload extends EventPayload implements Serializable {
+public class GollumPayload extends EventPayload {
private static final long serialVersionUID = 7111499446827257290L;
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/IssueCommentPayload.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/IssueCommentPayload.java
index 1f6467c1..d1d85efe 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/IssueCommentPayload.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/IssueCommentPayload.java
@@ -12,15 +12,13 @@
*******************************************************************************/
package org.eclipse.egit.github.core.event;
-import java.io.Serializable;
-
import org.eclipse.egit.github.core.Comment;
import org.eclipse.egit.github.core.Issue;
/**
* IssueCommentEvent payload model class.
*/
-public class IssueCommentPayload extends EventPayload implements Serializable {
+public class IssueCommentPayload extends EventPayload {
private static final long serialVersionUID = 2661548417314120170L;
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/IssuesPayload.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/IssuesPayload.java
index af78f749..87fc8316 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/IssuesPayload.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/IssuesPayload.java
@@ -12,14 +12,12 @@
*******************************************************************************/
package org.eclipse.egit.github.core.event;
-import java.io.Serializable;
-
import org.eclipse.egit.github.core.Issue;
/**
* IssuesEvent payload model class.
*/
-public class IssuesPayload extends EventPayload implements Serializable {
+public class IssuesPayload extends EventPayload {
private static final long serialVersionUID = 3210795492806809443L;
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/MemberPayload.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/MemberPayload.java
index 5a5bd924..c8936d48 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/MemberPayload.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/MemberPayload.java
@@ -12,14 +12,12 @@
*******************************************************************************/
package org.eclipse.egit.github.core.event;
-import java.io.Serializable;
-
import org.eclipse.egit.github.core.User;
/**
* MemberEvent payload model class.
*/
-public class MemberPayload extends EventPayload implements Serializable {
+public class MemberPayload extends EventPayload {
private static final long serialVersionUID = -4261757812093447848L;
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/PublicPayload.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/PublicPayload.java
index f67ecb4d..e933b70d 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/PublicPayload.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/PublicPayload.java
@@ -12,12 +12,10 @@
*******************************************************************************/
package org.eclipse.egit.github.core.event;
-import java.io.Serializable;
-
/**
* PublicEvent payload model class.
*/
-public class PublicPayload extends EventPayload implements Serializable {
+public class PublicPayload extends EventPayload {
private static final long serialVersionUID = 5262549236565872052L;
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/PullRequestPayload.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/PullRequestPayload.java
index 6e672fba..d994c4c0 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/PullRequestPayload.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/PullRequestPayload.java
@@ -13,14 +13,12 @@
package org.eclipse.egit.github.core.event;
-import java.io.Serializable;
-
import org.eclipse.egit.github.core.PullRequest;
/**
* PullRequestEvent payload model class.
*/
-public class PullRequestPayload extends EventPayload implements Serializable {
+public class PullRequestPayload extends EventPayload {
private static final long serialVersionUID = -8234504270587265625L;
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/PullRequestReviewCommentPayload.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/PullRequestReviewCommentPayload.java
index 5aeaa441..c176c8a1 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/PullRequestReviewCommentPayload.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/PullRequestReviewCommentPayload.java
@@ -12,16 +12,13 @@
*****************************************************************************/
package org.eclipse.egit.github.core.event;
-import java.io.Serializable;
-
import org.eclipse.egit.github.core.CommitComment;
import org.eclipse.egit.github.core.PullRequest;
/**
* Payload for an event with type {@link Event#TYPE_PULL_REQUEST_REVIEW_COMMENT}
*/
-public class PullRequestReviewCommentPayload extends EventPayload implements
- Serializable {
+public class PullRequestReviewCommentPayload extends EventPayload {
private static final long serialVersionUID = -2403658752886394741L;
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/PushPayload.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/PushPayload.java
index 05750169..1ec47383 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/PushPayload.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/PushPayload.java
@@ -12,7 +12,6 @@
*******************************************************************************/
package org.eclipse.egit.github.core.event;
-import java.io.Serializable;
import java.util.List;
import org.eclipse.egit.github.core.Commit;
@@ -20,7 +19,7 @@ import org.eclipse.egit.github.core.Commit;
/**
* PushEvent payload model class.
*/
-public class PushPayload extends EventPayload implements Serializable {
+public class PushPayload extends EventPayload {
private static final long serialVersionUID = -1542484898531583478L;
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/ReleasePayload.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/ReleasePayload.java
index 7c1cde7c..d9b40426 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/ReleasePayload.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/ReleasePayload.java
@@ -12,15 +12,13 @@
*******************************************************************************/
package org.eclipse.egit.github.core.event;
-import java.io.Serializable;
-
import org.eclipse.egit.github.core.Release;
/**
* ReleaseEvent payload model class.
* @since 4.2
*/
-public class ReleasePayload extends EventPayload implements Serializable {
+public class ReleasePayload extends EventPayload {
private static final long serialVersionUID = 3309944674574815351L;
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/TeamAddPayload.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/TeamAddPayload.java
index a479b9d7..b877a054 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/TeamAddPayload.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/TeamAddPayload.java
@@ -12,8 +12,6 @@
*******************************************************************************/
package org.eclipse.egit.github.core.event;
-import java.io.Serializable;
-
import org.eclipse.egit.github.core.Repository;
import org.eclipse.egit.github.core.Team;
import org.eclipse.egit.github.core.User;
@@ -21,7 +19,7 @@ import org.eclipse.egit.github.core.User;
/**
* TeamAddEvent payload model class
*/
-public class TeamAddPayload extends EventPayload implements Serializable {
+public class TeamAddPayload extends EventPayload {
private static final long serialVersionUID = 7660176723347977144L;
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/WatchPayload.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/WatchPayload.java
index 868b31c0..ac64de66 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/WatchPayload.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/WatchPayload.java
@@ -12,12 +12,10 @@
*******************************************************************************/
package org.eclipse.egit.github.core.event;
-import java.io.Serializable;
-
/**
* WatchEvent payload model class.
*/
-public class WatchPayload extends EventPayload implements Serializable {
+public class WatchPayload extends EventPayload {
private static final long serialVersionUID = -1600566006173513492L;