Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 7568231

Browse files
authored
Merge pull request #426 from github/fixes/code-cleanup
Take out useless properties
2 parents 8548b3b + 57ea6b3 commit 7568231

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

src/GitHub.App/Models/PullRequestModel.cs

-4
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,6 @@ public IAccount Assignee
141141
set { assignee = value; this.RaisePropertyChange(); }
142142
}
143143

144-
public ISimpleRepositoryModel Repository { get; }
145-
public IBranch Head { get; }
146-
public IBranch Base { get; }
147-
148144
[return: AllowNull] // nullguard thinks a string.Format can return null. sigh.
149145
public override string ToString()
150146
{

src/GitHub.Exports/Models/IPullRequestModel.cs

-3
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,5 @@ public interface IPullRequestModel : ICopyable<IPullRequestModel>,
1515
DateTimeOffset UpdatedAt { get; }
1616
IAccount Author { get; }
1717
IAccount Assignee { get; }
18-
ISimpleRepositoryModel Repository { get; }
19-
IBranch Head { get; }
20-
IBranch Base { get; }
2118
}
2219
}

0 commit comments

Comments
 (0)