Browse Source

Fix warnings about missing serialVersionUID

Use @SuppressWarnings since these are private classes

Change-Id: Ic8e4c08b70627a3f9b031e2474092e1ce8116f22
stable-3.5
Robin Rosenberg 11 years ago committed by Matthias Sohn
parent
commit
409c32b1cf
  1. 3
      org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java

3
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.RevCommit;
import org.eclipse.jgit.revwalk.RevWalk; import org.eclipse.jgit.revwalk.RevWalk;
import org.eclipse.jgit.util.FileUtils; import org.eclipse.jgit.util.FileUtils;
import org.xml.sax.Attributes; import org.xml.sax.Attributes;
import org.xml.sax.InputSource; import org.xml.sax.InputSource;
import org.xml.sax.SAXException; import org.xml.sax.SAXException;
@ -561,12 +560,14 @@ public class RepoCommand extends GitCommand<RevCommit> {
} }
} }
@SuppressWarnings("serial")
private static class ManifestErrorException extends GitAPIException { private static class ManifestErrorException extends GitAPIException {
ManifestErrorException(Throwable cause) { ManifestErrorException(Throwable cause) {
super(RepoText.get().invalidManifest, cause); super(RepoText.get().invalidManifest, cause);
} }
} }
@SuppressWarnings("serial")
private static class RemoteUnavailableException extends GitAPIException { private static class RemoteUnavailableException extends GitAPIException {
RemoteUnavailableException(String uri) { RemoteUnavailableException(String uri) {
super(MessageFormat.format(RepoText.get().errorRemoteUnavailable, uri)); super(MessageFormat.format(RepoText.get().errorRemoteUnavailable, uri));

Loading…
Cancel
Save