Removed unnecessary cast.
This commit is contained in:
parent
5ab4183f9b
commit
97730d1793
3 changed files with 2 additions and 3 deletions
|
|
@ -1,6 +1,5 @@
|
|||
using DataLayer;
|
||||
using Dinah.Core;
|
||||
using Dinah.Core.ErrorHandling;
|
||||
using FileLiberator;
|
||||
using System;
|
||||
using System.Linq;
|
||||
|
|
|
|||
|
|
@ -5,6 +5,6 @@ namespace LibationWinForms
|
|||
{
|
||||
internal class ObjectComparer<T> : IComparer where T : IComparable
|
||||
{
|
||||
public int Compare(object x, object y) => ((T)x).CompareTo((T)y);
|
||||
public int Compare(object x, object y) => ((T)x).CompareTo(y);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue