Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Rosenberg2014-07-15 09:33:58 +0000
committerMatthias Sohn2014-09-04 09:35:18 +0000
commit409c32b1cff86967ff28dbc57ce1a8a6a3142216 (patch)
treebb094ac859615cf57112b93f1a3aac2f39c8d74c
parent1bb72eb758e4b0614c2eadce00f7ec61ffee6667 (diff)
downloadjgit-409c32b1cff86967ff28dbc57ce1a8a6a3142216.tar.gz
jgit-409c32b1cff86967ff28dbc57ce1a8a6a3142216.tar.xz
jgit-409c32b1cff86967ff28dbc57ce1a8a6a3142216.zip
Fix warnings about missing serialVersionUID
Use @SuppressWarnings since these are private classes Change-Id: Ic8e4c08b70627a3f9b031e2474092e1ce8116f22
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java b/org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java
index 9d6aeaba12..1c4c3db0d3 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java
@@ -89,7 +89,6 @@ import org.eclipse.jgit.lib.Repository;
import org.eclipse.jgit.revwalk.RevCommit;
import org.eclipse.jgit.revwalk.RevWalk;
import org.eclipse.jgit.util.FileUtils;
-
import org.xml.sax.Attributes;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
@@ -561,12 +560,14 @@ public class RepoCommand extends GitCommand<RevCommit> {
}
}
+ @SuppressWarnings("serial")
private static class ManifestErrorException extends GitAPIException {
ManifestErrorException(Throwable cause) {
super(RepoText.get().invalidManifest, cause);
}
}
+ @SuppressWarnings("serial")
private static class RemoteUnavailableException extends GitAPIException {
RemoteUnavailableException(String uri) {
super(MessageFormat.format(RepoText.get().errorRemoteUnavailable, uri));

Back to the top