Fix ChangeDetailFactory's invocation of PatchSetDetailFactory
I flipped the order of the arguments, but did not correctly update all callers. Change-Id: Iae14ec35374342f53bc353082db35cb8750a750a Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
parent
0a939db5bf
commit
019d2c4dfb
|
@ -4,7 +4,7 @@ Gerrit Code Review - Release Notes
|
||||||
[[2_1]]
|
[[2_1]]
|
||||||
Version 2.1.x
|
Version 2.1.x
|
||||||
-------------
|
-------------
|
||||||
* link:ReleaseNotes-2.1.7.1.html[2.1.7.1],
|
* link:ReleaseNotes-2.1.7.2.html[2.1.7.2],
|
||||||
* link:ReleaseNotes-2.1.7.html[2.1.7],
|
* link:ReleaseNotes-2.1.7.html[2.1.7],
|
||||||
* link:ReleaseNotes-2.1.6.html[2.1.6],
|
* link:ReleaseNotes-2.1.6.html[2.1.6],
|
||||||
link:ReleaseNotes-2.1.6.1.html[2.1.6.1]
|
link:ReleaseNotes-2.1.6.1.html[2.1.6.1]
|
||||||
|
|
|
@ -194,7 +194,7 @@ public class ChangeDetailFactory extends Handler<ChangeDetail> {
|
||||||
NoSuchEntityException, PatchSetInfoNotAvailableException,
|
NoSuchEntityException, PatchSetInfoNotAvailableException,
|
||||||
NoSuchChangeException {
|
NoSuchChangeException {
|
||||||
final PatchSet.Id psId = detail.getChange().currentPatchSetId();
|
final PatchSet.Id psId = detail.getChange().currentPatchSetId();
|
||||||
final PatchSetDetailFactory loader = patchSetDetail.create(psId, null, null);
|
final PatchSetDetailFactory loader = patchSetDetail.create(null, psId, null);
|
||||||
loader.patchSet = detail.getCurrentPatchSet();
|
loader.patchSet = detail.getCurrentPatchSet();
|
||||||
loader.control = control;
|
loader.control = control;
|
||||||
detail.setCurrentPatchSetDetail(loader.call());
|
detail.setCurrentPatchSetDetail(loader.call());
|
||||||
|
|
Loading…
Reference in New Issue