Remove unnecessary @SuppressWarnings annotations in ChangeControl
Change-Id: Icd07239b76e170a82e2722087838769953db1d2c
This commit is contained in:
@@ -328,7 +328,6 @@ public class ChangeControl {
|
|||||||
return canSubmit(db, patchSet, null, false, false, false);
|
return canSubmit(db, patchSet, null, false, false, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
|
||||||
public List<SubmitRecord> canSubmit(ReviewDb db, PatchSet patchSet,
|
public List<SubmitRecord> canSubmit(ReviewDb db, PatchSet patchSet,
|
||||||
@Nullable ChangeData cd, boolean fastEvalLabels, boolean allowClosed,
|
@Nullable ChangeData cd, boolean fastEvalLabels, boolean allowClosed,
|
||||||
boolean allowDraft) {
|
boolean allowDraft) {
|
||||||
@@ -476,7 +475,6 @@ public class ChangeControl {
|
|||||||
return getSubmitTypeRecord(db, patchSet, null);
|
return getSubmitTypeRecord(db, patchSet, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
|
||||||
public SubmitTypeRecord getSubmitTypeRecord(ReviewDb db, PatchSet patchSet,
|
public SubmitTypeRecord getSubmitTypeRecord(ReviewDb db, PatchSet patchSet,
|
||||||
@Nullable ChangeData cd) {
|
@Nullable ChangeData cd) {
|
||||||
try {
|
try {
|
||||||
|
Reference in New Issue
Block a user