Browse Source

Fix warnings about missing serialVersionUID

Use @SuppressWarnings since these are private classes

Change-Id: Ic8e4c08b70627a3f9b031e2474092e1ce8116f22
tags/v3.5.0.201409071800-rc1
Robin Rosenberg 9 years ago
parent
commit
409c32b1cf
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java

+ 2
- 1
org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java View 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));

Loading…
Cancel
Save