Merge "Remove unnecessary @SuppressWarnings annotations in ChangeControl"

This commit is contained in:
Edwin Kempin
2013-04-22 11:30:10 +00:00
committed by Gerrit Code Review

View File

@@ -328,7 +328,6 @@ public class ChangeControl {
return canSubmit(db, patchSet, null, false, false, false);
}
@SuppressWarnings("unchecked")
public List<SubmitRecord> canSubmit(ReviewDb db, PatchSet patchSet,
@Nullable ChangeData cd, boolean fastEvalLabels, boolean allowClosed,
boolean allowDraft) {
@@ -476,7 +475,6 @@ public class ChangeControl {
return getSubmitTypeRecord(db, patchSet, null);
}
@SuppressWarnings("unchecked")
public SubmitTypeRecord getSubmitTypeRecord(ReviewDb db, PatchSet patchSet,
@Nullable ChangeData cd) {
try {