Add missing default serialVersionUID
Change-Id: I3e629e6a2c1ddf9facd9a320f2e8401a0e7d212c Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
@@ -30,6 +30,8 @@ import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
@Singleton
|
||||
class HttpLogoutServlet extends HttpServlet {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final Provider<WebSession> webSession;
|
||||
private final Provider<String> urlProvider;
|
||||
private final String logoutUrl;
|
||||
|
||||
@@ -70,6 +70,8 @@ class UrlModule extends ServletModule {
|
||||
|
||||
private Key<HttpServlet> notFound() {
|
||||
return key(new HttpServlet() {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
protected void doGet(final HttpServletRequest req,
|
||||
final HttpServletResponse rsp) throws IOException {
|
||||
@@ -80,6 +82,8 @@ class UrlModule extends ServletModule {
|
||||
|
||||
private Key<HttpServlet> screen(final String target) {
|
||||
return key(new HttpServlet() {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
protected void doGet(final HttpServletRequest req,
|
||||
final HttpServletResponse rsp) throws IOException {
|
||||
@@ -90,6 +94,8 @@ class UrlModule extends ServletModule {
|
||||
|
||||
private Key<HttpServlet> legacyGerritScreen() {
|
||||
return key(new HttpServlet() {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
protected void doGet(final HttpServletRequest req,
|
||||
final HttpServletResponse rsp) throws IOException {
|
||||
@@ -101,6 +107,8 @@ class UrlModule extends ServletModule {
|
||||
|
||||
private Key<HttpServlet> changeQuery() {
|
||||
return key(new HttpServlet() {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
protected void doGet(final HttpServletRequest req,
|
||||
final HttpServletResponse rsp) throws IOException {
|
||||
|
||||
@@ -47,6 +47,7 @@ import javax.servlet.http.HttpServletResponse;
|
||||
*/
|
||||
@Singleton
|
||||
class HttpLoginServlet extends HttpServlet {
|
||||
private static final long serialVersionUID = 1L;
|
||||
private static final Logger log =
|
||||
LoggerFactory.getLogger(HttpLoginServlet.class);
|
||||
|
||||
|
||||
@@ -31,6 +31,8 @@ import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
@Singleton
|
||||
class LoginRedirectServlet extends HttpServlet {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final Provider<WebSession> webSession;
|
||||
private final Provider<String> urlProvider;
|
||||
|
||||
|
||||
@@ -29,6 +29,7 @@ import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
@Singleton
|
||||
public class PrettifyServlet extends HttpServlet {
|
||||
private static final long serialVersionUID = 1L;
|
||||
private static final String VERSION = "20090521";
|
||||
|
||||
private final byte[] content;
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
package com.google.gerrit.pgm;
|
||||
|
||||
public class Die extends RuntimeException {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public Die(final String why) {
|
||||
super(why);
|
||||
}
|
||||
|
||||
@@ -33,6 +33,8 @@ package com.google.gerrit.server.query;
|
||||
}
|
||||
@members {
|
||||
static class QueryParseInternalException extends RuntimeException {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
QueryParseInternalException(final String msg) {
|
||||
super(msg);
|
||||
}
|
||||
|
||||
@@ -16,6 +16,8 @@ package com.google.gerrit.server.account;
|
||||
|
||||
/** An account processing error thrown by {@link AccountManager}. */
|
||||
public class AccountException extends Exception {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public AccountException(final String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
@@ -18,6 +18,8 @@ import com.google.gerrit.reviewdb.AccountGroup;
|
||||
|
||||
/** Indicates the account group does not exist. */
|
||||
public class NoSuchGroupException extends Exception {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public NoSuchGroupException(final AccountGroup.Id key) {
|
||||
this(key, null);
|
||||
}
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
package com.google.gerrit.server.mail;
|
||||
|
||||
public class EmailException extends Exception {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public EmailException(String msg) {
|
||||
super(msg);
|
||||
}
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
package com.google.gerrit.server.patch;
|
||||
|
||||
public final class PatchSetInfoNotAvailableException extends Exception {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public PatchSetInfoNotAvailableException(Exception cause) {
|
||||
super(cause);
|
||||
|
||||
@@ -18,6 +18,8 @@ import com.google.gerrit.reviewdb.Change;
|
||||
|
||||
/** Indicates the change does not exist. */
|
||||
public class NoSuchChangeException extends Exception {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public NoSuchChangeException(final Change.Id key) {
|
||||
this(key, null);
|
||||
}
|
||||
|
||||
@@ -18,6 +18,8 @@ import com.google.gerrit.reviewdb.Project;
|
||||
|
||||
/** Indicates the project does not exist. */
|
||||
public class NoSuchProjectException extends Exception {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public NoSuchProjectException(final Project.NameKey key) {
|
||||
this(key, null);
|
||||
}
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
package com.google.gerrit.server.query;
|
||||
|
||||
public class QueryParseException extends Exception {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public QueryParseException(final String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user