Skip to content

Commit

Permalink
Cleanup code
Browse files Browse the repository at this point in the history
  • Loading branch information
a-gubskiy committed Jul 13, 2024
1 parent e257752 commit 184357a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/X.PagedList/BasePagedList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,5 @@ IEnumerator IEnumerable.GetEnumerator()
///</summary>
///<returns>A non-enumerable copy of this paged list.</returns>
[Obsolete("This method will be removed in future versions")]
public PagedListMetaData GetMetaData()
{
return new PagedListMetaData(this);
}
public PagedListMetaData GetMetaData() => new(this);
}

0 comments on commit 184357a

Please sign in to comment.