Merge "Merge branch 'stable-2.6' into stable-2.7" into stable-2.7
This commit is contained in:
@@ -112,9 +112,7 @@ public class DeleteDraftPatchSet implements Callable<ReviewResult> {
|
||||
}
|
||||
if (change.currentPatchSetId().equals(patchSetId)) {
|
||||
try {
|
||||
PatchSet.Id id =
|
||||
new PatchSet.Id(patchSetId.getParentKey(), patchSetId.get() - 1);
|
||||
change.setCurrentPatchSet(patchSetInfoFactory.get(db, id));
|
||||
change.setCurrentPatchSet(patchSetInfoFactory.get(db, highestId));
|
||||
} catch (PatchSetInfoNotAvailableException e) {
|
||||
throw new NoSuchChangeException(changeId);
|
||||
}
|
||||
|
Reference in New Issue
Block a user