Merge branch 'stable-2.6' into stable-2.7
* stable-2.6: Fix: Duplicate options of permitted_labels. Make links appear with the same color in Change UI Update revision of reviewnotes plugin Conflicts: plugins/reviewnotes Change-Id: Ib88f7163a15a6fefd0f30f7eacef7b576aa79ab1
This commit is contained in:
@@ -421,12 +421,19 @@ public class PatchTable extends Composite {
|
||||
table.setWidget(row, C_PATH, nameCol);
|
||||
|
||||
int C_UNIFIED = C_SIDEBYSIDE + 1;
|
||||
table.setWidget(row, C_SIDEBYSIDE, new PatchLink.SideBySide(
|
||||
Util.C.patchTableDiffSideBySide(), base, patch.getKey(), row - 1,
|
||||
detail, PatchTable.this));
|
||||
table.setWidget(row, C_UNIFIED, new PatchLink.Unified(
|
||||
Util.C.patchTableDiffUnified(), base, patch.getKey(), row - 1,
|
||||
detail, PatchTable.this));
|
||||
|
||||
PatchLink sideBySide =
|
||||
new PatchLink.SideBySide(Util.C.patchTableDiffSideBySide(), base,
|
||||
patch.getKey(), row - 1, detail, PatchTable.this);
|
||||
sideBySide.setStyleName("gwt-Anchor");
|
||||
|
||||
PatchLink unified =
|
||||
new PatchLink.Unified(Util.C.patchTableDiffUnified(), base,
|
||||
patch.getKey(), row - 1, detail, PatchTable.this);
|
||||
unified.setStyleName("gwt-Anchor");
|
||||
|
||||
table.setWidget(row, C_SIDEBYSIDE, sideBySide);
|
||||
table.setWidget(row, C_UNIFIED, unified);
|
||||
}
|
||||
|
||||
void initializeLastRow(int row) {
|
||||
|
@@ -31,11 +31,12 @@ import com.google.common.base.Strings;
|
||||
import com.google.common.collect.HashBasedTable;
|
||||
import com.google.common.collect.HashMultimap;
|
||||
import com.google.common.collect.ImmutableList;
|
||||
import com.google.common.collect.LinkedListMultimap;
|
||||
import com.google.common.collect.LinkedHashMultimap;
|
||||
import com.google.common.collect.ListMultimap;
|
||||
import com.google.common.collect.Lists;
|
||||
import com.google.common.collect.Maps;
|
||||
import com.google.common.collect.Multimap;
|
||||
import com.google.common.collect.SetMultimap;
|
||||
import com.google.common.collect.Sets;
|
||||
import com.google.common.collect.Table;
|
||||
import com.google.gerrit.common.changes.ListChangesOption;
|
||||
@@ -580,7 +581,7 @@ public class ChangeJson {
|
||||
}
|
||||
|
||||
LabelTypes labelTypes = ctl.getLabelTypes();
|
||||
ListMultimap<String, String> permitted = LinkedListMultimap.create();
|
||||
SetMultimap<String, String> permitted = LinkedHashMultimap.create();
|
||||
for (SubmitRecord rec : submitRecords(cd)) {
|
||||
if (rec.labels == null) {
|
||||
continue;
|
||||
|
Submodule plugins/reviewnotes updated: 41fdacc58c...8d2ab72281
Reference in New Issue
Block a user