summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Arès <hugo.ares@ericsson.com>2015-09-16 14:34:54 -0400
committerMatthias Sohn <matthias.sohn@sap.com>2015-09-17 10:23:34 +0200
commit868899982bd6aa8aebec857436d2f71546a8ed7a (patch)
tree7413bda17906c417ea35049a38f8e26f413aa75b
parent6f3684d7c93e5ccb4cf8e21216e68a9cfa47f6dd (diff)
downloadjgit-868899982bd6aa8aebec857436d2f71546a8ed7a.tar.gz
jgit-868899982bd6aa8aebec857436d2f71546a8ed7a.zip
Fix warnings about missing serialVersionUID
Change-Id: Ieff64896aebeab793ff08ab89f10d5ccaee66021 Signed-off-by: Hugo Arès <hugo.ares@ericsson.com>
-rw-r--r--org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/SwingCommitList.java1
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/transport/WriteAbortedException.java2
2 files changed, 3 insertions, 0 deletions
diff --git a/org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/SwingCommitList.java b/org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/SwingCommitList.java
index 4a11964473..7359093a12 100644
--- a/org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/SwingCommitList.java
+++ b/org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/SwingCommitList.java
@@ -82,6 +82,7 @@ class SwingCommitList extends PlotCommitList<SwingCommitList.SwingLane> {
}
static class SwingLane extends PlotLane {
+ private static final long serialVersionUID = 1L;
Color color;
}
}
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/WriteAbortedException.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/WriteAbortedException.java
index 5ba489383b..267bf7a380 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/WriteAbortedException.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/WriteAbortedException.java
@@ -54,6 +54,8 @@ import java.io.IOException;
* @since 4.1
*/
public class WriteAbortedException extends IOException {
+ private static final long serialVersionUID = 1L;
+
/**
* Construct a {@code WriteAbortedException}.
*/