Removed unnecessary cast.
This commit is contained in:
parent
5ab4183f9b
commit
97730d1793
@ -13,7 +13,7 @@
|
|||||||
<!-- <PublishSingleFile>true</PublishSingleFile> -->
|
<!-- <PublishSingleFile>true</PublishSingleFile> -->
|
||||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||||
|
|
||||||
<Version>5.4.9.269</Version>
|
<Version>5.4.9.274</Version>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
using DataLayer;
|
using DataLayer;
|
||||||
using Dinah.Core;
|
using Dinah.Core;
|
||||||
using Dinah.Core.ErrorHandling;
|
|
||||||
using FileLiberator;
|
using FileLiberator;
|
||||||
using System;
|
using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|||||||
@ -5,6 +5,6 @@ namespace LibationWinForms
|
|||||||
{
|
{
|
||||||
internal class ObjectComparer<T> : IComparer where T : IComparable
|
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…
x
Reference in New Issue
Block a user