Skip to content

Commit

Permalink
Removed all from ItemState and made some comment changes
Browse files Browse the repository at this point in the history
  • Loading branch information
prayankmathur committed Mar 29, 2016
1 parent d37774a commit c51bb07
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
12 changes: 3 additions & 9 deletions Octokit/Models/Request/IssueRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -147,20 +147,14 @@ public enum ItemStateFilter
public enum ItemState
{
/// <summary>
/// Issues that are open
/// Items that are open
/// </summary>
Open,

/// <summary>
/// Issues that are closed
/// Items that are closed
/// </summary>
Closed,

/// <summary>
/// All the issues. The option is Obsolete
/// </summary>
[Obsolete("The value is Obsolete and will be removed in a future release as it is not a valid option for Search, Create and Update operations")]
All
Closed
}

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion Octokit/Models/Request/PullRequestRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public PullRequestRequest()
}

/// <summary>
/// "open", "closed" or "all" to filter by state. Default is "open".
/// Which PullRequests to get. The default is <see cref="ItemStateFilter.Open"/>
/// </summary>
public ItemStateFilter State { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion Octokit/Models/Response/Issue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public Issue(Uri url, Uri htmlUrl, Uri commentsUrl, Uri eventsUrl, int number, I
public int Number { get; protected set; }

/// <summary>
/// Whether the issue is open, closed or all.
/// Whether the issue is open or closed.
/// </summary>
public ItemState State { get; protected set; }

Expand Down

0 comments on commit c51bb07

Please sign in to comment.