]> source.dussan.org Git - jgit.git/commitdiff
Fix warnings about missing serialVersionUID 49/29949/3
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Tue, 15 Jul 2014 09:33:58 +0000 (11:33 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Thu, 4 Sep 2014 09:35:18 +0000 (11:35 +0200)
Use @SuppressWarnings since these are private classes

Change-Id: Ic8e4c08b70627a3f9b031e2474092e1ce8116f22

org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java

index 9d6aeaba12004759a1e8fe9c092a91df58e65832..1c4c3db0d38730d758c0f588e89e6ca7745c17f6 100644 (file)
@@ -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));