Removed unnecessary cast.

This commit is contained in:
Michael Bucari-Tovo 2021-08-12 13:14:45 -06:00
parent 5ab4183f9b
commit 97730d1793
3 changed files with 2 additions and 3 deletions

View File

@ -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'">

View File

@ -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;

View File

@ -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);
} }
} }