diff options
author | Shawn O. Pearce <sop@google.com> | 2011-06-07 11:47:22 -0700 |
---|---|---|
committer | Shawn O. Pearce <sop@google.com> | 2011-06-07 11:47:22 -0700 |
commit | 019d2c4dfb7351c43858b582ac32bb5e9b176c88 (patch) | |
tree | 64122d2e08b7e36d1cdb849675bbb8b3b00fea8e | |
parent | 0a939db5bfff20d7622e5d8aee0e0f9cf1c9aa9e (diff) |
Fix ChangeDetailFactory's invocation of PatchSetDetailFactoryv2.1.7.2
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>
-rw-r--r-- | ReleaseNotes/ReleaseNotes-2.1.7.2.txt (renamed from ReleaseNotes/ReleaseNotes-2.1.7.1.txt) | 0 | ||||
-rw-r--r-- | ReleaseNotes/index.txt | 2 | ||||
-rw-r--r-- | gerrit-httpd/src/main/java/com/google/gerrit/httpd/rpc/changedetail/ChangeDetailFactory.java | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/ReleaseNotes/ReleaseNotes-2.1.7.1.txt b/ReleaseNotes/ReleaseNotes-2.1.7.2.txt index 2d7622e5bb..2d7622e5bb 100644 --- a/ReleaseNotes/ReleaseNotes-2.1.7.1.txt +++ b/ReleaseNotes/ReleaseNotes-2.1.7.2.txt diff --git a/ReleaseNotes/index.txt b/ReleaseNotes/index.txt index 6f020049df..d340a09018 100644 --- a/ReleaseNotes/index.txt +++ b/ReleaseNotes/index.txt @@ -4,7 +4,7 @@ Gerrit Code Review - Release Notes [[2_1]] 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.6.html[2.1.6], link:ReleaseNotes-2.1.6.1.html[2.1.6.1] diff --git a/gerrit-httpd/src/main/java/com/google/gerrit/httpd/rpc/changedetail/ChangeDetailFactory.java b/gerrit-httpd/src/main/java/com/google/gerrit/httpd/rpc/changedetail/ChangeDetailFactory.java index 560b1552af..40166413d7 100644 --- a/gerrit-httpd/src/main/java/com/google/gerrit/httpd/rpc/changedetail/ChangeDetailFactory.java +++ b/gerrit-httpd/src/main/java/com/google/gerrit/httpd/rpc/changedetail/ChangeDetailFactory.java @@ -194,7 +194,7 @@ public class ChangeDetailFactory extends Handler<ChangeDetail> { NoSuchEntityException, PatchSetInfoNotAvailableException, NoSuchChangeException { 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.control = control; detail.setCurrentPatchSetDetail(loader.call()); |