Merge "Remove unnecessary @SuppressWarnings annotations in ChangeControl" into stable-2.6

This commit is contained in:
Shawn Pearce 2013-04-24 16:25:13 +00:00 committed by Gerrit Code Review
commit 0906da0297

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 {