Fix Eclipse warnings
Change-Id: I571a405b0c77a48fff8243a40a306d036c975ea3
This commit is contained in:
@@ -1237,7 +1237,7 @@ public abstract class AbstractDaemonTest {
|
||||
}
|
||||
|
||||
protected void watch(String project, ProjectWatchInfoConfiguration config)
|
||||
throws OrmException, RestApiException {
|
||||
throws RestApiException {
|
||||
ProjectWatchInfo pwi = new ProjectWatchInfo();
|
||||
pwi.project = project;
|
||||
config.configure(pwi);
|
||||
@@ -1249,7 +1249,7 @@ public abstract class AbstractDaemonTest {
|
||||
watch(r.getChange().project().get(), config);
|
||||
}
|
||||
|
||||
protected void watch(String project, String filter) throws OrmException, RestApiException {
|
||||
protected void watch(String project, String filter) throws RestApiException {
|
||||
watch(
|
||||
project,
|
||||
pwi -> {
|
||||
@@ -1260,7 +1260,7 @@ public abstract class AbstractDaemonTest {
|
||||
});
|
||||
}
|
||||
|
||||
protected void watch(String project) throws OrmException, RestApiException {
|
||||
protected void watch(String project) throws RestApiException {
|
||||
watch(project, (String) null);
|
||||
}
|
||||
|
||||
|
||||
@@ -127,13 +127,10 @@ import java.util.Objects;
|
||||
import java.util.OptionalInt;
|
||||
import java.util.Set;
|
||||
import org.eclipse.jgit.lib.Config;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@Singleton
|
||||
public class PostReview
|
||||
extends RetryingRestModifyView<RevisionResource, ReviewInput, Response<ReviewResult>> {
|
||||
private static final Logger log = LoggerFactory.getLogger(PostReview.class);
|
||||
private static final Gson GSON = OutputFormat.JSON_COMPACT.newGson();
|
||||
private static final int DEFAULT_ROBOT_COMMENT_SIZE_LIMIT_IN_BYTES = 1024 * 1024;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user