diff options
author | Robin Rosenberg <robin.rosenberg@dewire.com> | 2014-07-15 11:33:58 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2014-09-04 11:35:18 +0200 |
commit | 409c32b1cff86967ff28dbc57ce1a8a6a3142216 (patch) | |
tree | bb094ac859615cf57112b93f1a3aac2f39c8d74c | |
parent | 1bb72eb758e4b0614c2eadce00f7ec61ffee6667 (diff) | |
download | jgit-409c32b1cff86967ff28dbc57ce1a8a6a3142216.tar.gz 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.java | 3 |
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)); |