Merge branch 'stable-2.15'

* stable-2.15:
  List{Branches,Tags}: "can_delete" should not be set when false

Change-Id: I4b62fbb7063358b0fc2db9ab5cd6bd59b5fe81cf
This commit is contained in:
David Pursehouse
2017-11-10 19:05:46 +09:00
6 changed files with 14 additions and 9 deletions

View File

@@ -24,7 +24,7 @@ public class TagInfo extends RefInfo {
public GitPerson tagger;
public List<WebLinkInfo> webLinks;
public TagInfo(String ref, String revision, boolean canDelete, List<WebLinkInfo> webLinks) {
public TagInfo(String ref, String revision, Boolean canDelete, List<WebLinkInfo> webLinks) {
this.ref = ref;
this.revision = revision;
this.canDelete = canDelete;
@@ -37,7 +37,7 @@ public class TagInfo extends RefInfo {
String object,
String message,
GitPerson tagger,
boolean canDelete,
Boolean canDelete,
List<WebLinkInfo> webLinks) {
this(ref, revision, canDelete, webLinks);
this.object = object;