diff --git a/DdfGuide.Android/AudioDramaListAdapter.cs b/DdfGuide.Android/AudioDramaListAdapter.cs index d22e89f..8862c8d 100644 --- a/DdfGuide.Android/AudioDramaListAdapter.cs +++ b/DdfGuide.Android/AudioDramaListAdapter.cs @@ -5,7 +5,6 @@ using Android.Views; using Android.Widget; using DdfGuide.Core; -using FFImageLoading.Views; namespace DdfGuide.Android { diff --git a/DdfGuide.Android/AudioDramaListView.cs b/DdfGuide.Android/AudioDramaListView.cs index 98e73d8..22ec461 100644 --- a/DdfGuide.Android/AudioDramaListView.cs +++ b/DdfGuide.Android/AudioDramaListView.cs @@ -15,6 +15,7 @@ namespace DdfGuide.Android { + [Obsolete] public class AudioDramaListView : Fragment, IAudioDramaListView { private readonly IImageViewFiller _imageViewFiller; @@ -26,16 +27,18 @@ public class AudioDramaListView : Fragment, IAudioDramaListView private AudioDramaListAdapter _listViewAdapter; private ListView _listView; private TabLayout _tabLayout; - private SwipeActionListener _swipeActionListener; - + private SwipeActionListener _swipeActionListener; + /// /// Fragments need a default constructor. Needed for old android versions. /// + [Obsolete] public AudioDramaListView() { _imageViewFiller = new ImageViewFiller(); } + [Obsolete] public AudioDramaListView(IImageViewFiller imageViewFiller, IReleaseDateService releaseDateService, IUserNotifier userNotifier) { @@ -44,6 +47,7 @@ public AudioDramaListView(IImageViewFiller imageViewFiller, IReleaseDateService _userNotifier = userNotifier; } + [Obsolete] public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { _view = inflater.Inflate(Resource.Layout.audiodramalistlayout, container, false); @@ -55,6 +59,7 @@ public override View OnCreateView(LayoutInflater inflater, ViewGroup container, return _view; } + [Obsolete] private void SetupFloatingRandomButton() { var fab = _view.FindViewById(Resource.Id.floatingActionButtonRandom); @@ -65,6 +70,7 @@ private void SetupFloatingRandomButton() fab.Click += (sender, args) => { RandomClicked?.Invoke(this, EventArgs.Empty); }; } + [Obsolete] private void SetupListView() { _listView = _view.FindViewById(Resource.Id.listViewAudioDramas); @@ -121,6 +127,7 @@ private void SetupListView() swipeActionAdapter.SetSwipeActionListener(_swipeActionListener); } + [Obsolete] private void SetupToolbar() { _toolbar = _view.FindViewById(Resource.Id.toolbar); @@ -144,6 +151,7 @@ private void SetupSearchView() _searchView.QueryTextChange += (sender, args) => { SearchTextChanged?.Invoke(this, EventArgs.Empty); }; } + [Obsolete] private void SetupTabs() { _tabLayout = _view.FindViewById(Resource.Id.tabLayout); diff --git a/DdfGuide.Android/AudioDramaView.cs b/DdfGuide.Android/AudioDramaView.cs index 48e30fa..bbb7146 100644 --- a/DdfGuide.Android/AudioDramaView.cs +++ b/DdfGuide.Android/AudioDramaView.cs @@ -11,10 +11,12 @@ namespace DdfGuide.Android { + [Obsolete] public class UpdatingView : Fragment, IUpdatingView { private View _view; + [Obsolete] public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { _view = inflater.Inflate(Resource.Layout.updatinglayout, container, false); @@ -23,24 +25,28 @@ public override View OnCreateView(LayoutInflater inflater, ViewGroup container, } } + [Obsolete] public class AudioDramaView : Fragment, IAudioDramaView { private readonly IImageViewFiller _imageViewFiller; - private View _view; - + private View _view; + /// /// Fragments need a default constructor. Needed for old android versions. /// + [Obsolete] public AudioDramaView() { _imageViewFiller = new ImageViewFiller(); } + [Obsolete] public AudioDramaView(IImageViewFiller imageViewFiller) { _imageViewFiller = imageViewFiller; } + [Obsolete] public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { _view = inflater.Inflate(Resource.Layout.audiodramalayout, container, false); @@ -82,6 +88,7 @@ private void SetupHeardCheckbox() }; } + [Obsolete] private void SetupToolbar() { var toolbar = _view.FindViewById(Resource.Id.toolbarsingleview); @@ -91,6 +98,7 @@ private void SetupToolbar() toolbar.NavigationOnClick += (sender, args) => BackClicked?.Invoke(this, EventArgs.Empty); } + [Obsolete] public void SetAudioDrama(AudioDrama audioDrama) { var interpreterView = _view.FindViewById(Resource.Id.textviewinterpreter); diff --git a/DdfGuide.Android/DdfGuide.Android.csproj b/DdfGuide.Android/DdfGuide.Android.csproj index 3f5ad01..d4c64fd 100644 --- a/DdfGuide.Android/DdfGuide.Android.csproj +++ b/DdfGuide.Android/DdfGuide.Android.csproj @@ -64,7 +64,8 @@ false false armeabi-v7a;arm64-v8a - C:\Users\marce\Downloads\keystore.jks + C:\Users\neummarc\Downloads\keystore.jks + false diff --git a/DdfGuide.Android/ImageViewFiller.cs b/DdfGuide.Android/ImageViewFiller.cs index 99b5bb9..b7f9379 100644 --- a/DdfGuide.Android/ImageViewFiller.cs +++ b/DdfGuide.Android/ImageViewFiller.cs @@ -1,27 +1,28 @@ -using FFImageLoading; -using FFImageLoading.Views; -using FFImageLoading.Work; - -namespace DdfGuide.Android -{ - public class ImageViewFiller : IImageViewFiller - { - public void FillImageViewFromUrl(ImageViewAsync imageView, string url) - { - if (string.IsNullOrWhiteSpace(url)) - { - ImageService.Instance - .LoadCompiledResource("ic_launcher") - .IntoAsync(imageView); - } - else - { - ImageService.Instance - .LoadUrl(url) - .LoadingPlaceholder("ic_launcher", ImageSource.CompiledResource) - .ErrorPlaceholder("ic_launcher", ImageSource.CompiledResource) - .IntoAsync(imageView); - } - } - } +using Android.Widget; +using FFImageLoading; +using FFImageLoading.Work; + +namespace DdfGuide.Android +{ + public class ImageViewFiller : IImageViewFiller + { + [System.Obsolete] + public void FillImageViewFromUrl(ImageView imageView, string url) + { + if (string.IsNullOrWhiteSpace(url)) + { + ImageService.Instance + .LoadCompiledResource("ic_launcher") + .IntoAsync(imageView); + } + else + { + ImageService.Instance + .LoadUrl(url) + .LoadingPlaceholder("ic_launcher", ImageSource.CompiledResource) + .ErrorPlaceholder("ic_launcher", ImageSource.CompiledResource) + .IntoAsync(imageView); + } + } + } } \ No newline at end of file diff --git a/DdfGuide.Android/MainActivity.cs b/DdfGuide.Android/MainActivity.cs index b5a79c3..405cf67 100644 --- a/DdfGuide.Android/MainActivity.cs +++ b/DdfGuide.Android/MainActivity.cs @@ -1,107 +1,110 @@ -using System; -using Android.App; -using Android.App.Job; -using Android.Content.PM; -using Android.Content.Res; -using Android.OS; -using DdfGuide.Core; - -namespace DdfGuide.Android -{ - [Activity(Label = "@string/app_name", Theme = "@style/AppTheme", MainLauncher = true, - ScreenOrientation = ScreenOrientation.Portrait, ConfigurationChanges = ConfigChanges.Orientation)] - public class MainActivity : Activity, IRootView - { - private Core.DdfGuide _ddfGuide; - - protected override async void OnCreate(Bundle savedInstanceState) - { - base.OnCreate(savedInstanceState); - - // Set our view from the "main" layout resource - SetContentView(Resource.Layout.activity_main); - - var releaseDateService = new ReleaseDateService(); - var filler = new ImageViewFiller(); - var userNotifier = new ToastNotifier(this); - var audioDramaListView = new AudioDramaListView(filler, releaseDateService,userNotifier); - var audioDramaView = new AudioDramaView(filler); - var rootView = this; - var dtoCache = new DtoCache(); - var userDataCache = new UserDataCache(); - var shutdown = new AndroidShutdown(this); - var uriInvoker = new UriInvoker(this); - var clipboardService = new ClipboardService(this); - var yesNoDialog = new YesNoDialog(this); - var okDialog = new OkDialog(this); - var updatingView = new UpdatingView(); - - _ddfGuide = new Core.DdfGuide( - audioDramaListView, - audioDramaView, - rootView, - dtoCache, - userDataCache, - shutdown, - userNotifier, - uriInvoker, - clipboardService, - yesNoDialog, - okDialog, - updatingView - ); - - await _ddfGuide.Start(); - - ScheduleReleaseNotificationJob(); - } - - private void ScheduleReleaseNotificationJob() - { - var jobBuilder = this.CreateJobBuilderUsingJobId(1); - var jobInfo = jobBuilder - .SetPeriodic(TimeSpan.FromHours(6).Milliseconds) - .SetPersisted(true) - .Build(); - - var jobScheduler = (JobScheduler) GetSystemService(JobSchedulerService); - jobScheduler.Schedule(jobInfo); - } - - public void Show(IView view) - { - if (!(view is Fragment fragment)) - { - throw new Exception("View needs to be of type Android.App.Fragment"); - } - - var transaction = FragmentManager.BeginTransaction(); - transaction.Replace(Resource.Id.rootLayout, fragment); - transaction.CommitAllowingStateLoss(); - FragmentManager.ExecutePendingTransactions(); - } - - public override void OnBackPressed() - { - BackClicked?.Invoke(this, EventArgs.Empty); - } - - public override void OnConfigurationChanged(Configuration newConfig) - { - //ViewDestroyed?.Invoke(this, EventArgs.Empty); - } - - protected override void OnSaveInstanceState(Bundle outState) - { - // To prevent IllegalStateException. See ticket #18. - } - - public override void OnSaveInstanceState(Bundle outState, PersistableBundle outPersistentState) - { - // To prevent IllegalStateException. See ticket #18. - } - - public event EventHandler BackClicked; - public event EventHandler ViewDestroyed; - } +using System; +using Android.App; +using Android.App.Job; +using Android.Content.PM; +using Android.Content.Res; +using Android.OS; +using DdfGuide.Core; + +namespace DdfGuide.Android +{ + [Activity(Label = "@string/app_name", Theme = "@style/AppTheme", MainLauncher = true, + ScreenOrientation = ScreenOrientation.Portrait, ConfigurationChanges = ConfigChanges.Orientation)] + public class MainActivity : Activity, IRootView + { + private Core.DdfGuide _ddfGuide; + + [Obsolete] + protected override async void OnCreate(Bundle savedInstanceState) + { + base.OnCreate(savedInstanceState); + + // Set our view from the "main" layout resource + SetContentView(Resource.Layout.activity_main); + + var releaseDateService = new ReleaseDateService(); + var filler = new ImageViewFiller(); + var userNotifier = new ToastNotifier(this); + var audioDramaListView = new AudioDramaListView(filler, releaseDateService,userNotifier); + var audioDramaView = new AudioDramaView(filler); + var rootView = this; + var dtoCache = new DtoCache(); + var userDataCache = new UserDataCache(); + var shutdown = new AndroidShutdown(this); + var uriInvoker = new UriInvoker(this); + var clipboardService = new ClipboardService(this); + var yesNoDialog = new YesNoDialog(this); + var okDialog = new OkDialog(this); + var updatingView = new UpdatingView(); + + _ddfGuide = new Core.DdfGuide( + audioDramaListView, + audioDramaView, + rootView, + dtoCache, + userDataCache, + shutdown, + userNotifier, + uriInvoker, + clipboardService, + yesNoDialog, + okDialog, + updatingView + ); + + await _ddfGuide.Start(); + + ScheduleReleaseNotificationJob(); + } + + private void ScheduleReleaseNotificationJob() + { + var jobBuilder = this.CreateJobBuilderUsingJobId(1); + var jobInfo = jobBuilder + .SetPeriodic(TimeSpan.FromHours(6).Milliseconds) + .SetPersisted(true) + .Build(); + + var jobScheduler = (JobScheduler) GetSystemService(JobSchedulerService); + jobScheduler.Schedule(jobInfo); + } + + [Obsolete] + public void Show(IView view) + { + if (!(view is Fragment fragment)) + { + throw new Exception("View needs to be of type Android.App.Fragment"); + } + + var transaction = FragmentManager.BeginTransaction(); + transaction.Replace(Resource.Id.rootLayout, fragment); + transaction.CommitAllowingStateLoss(); + FragmentManager.ExecutePendingTransactions(); + } + + [Obsolete] + public override void OnBackPressed() + { + BackClicked?.Invoke(this, EventArgs.Empty); + } + + public override void OnConfigurationChanged(Configuration newConfig) + { + //ViewDestroyed?.Invoke(this, EventArgs.Empty); + } + + protected override void OnSaveInstanceState(Bundle outState) + { + // To prevent IllegalStateException. See ticket #18. + } + + public override void OnSaveInstanceState(Bundle outState, PersistableBundle outPersistentState) + { + // To prevent IllegalStateException. See ticket #18. + } + + public event EventHandler BackClicked; + public event EventHandler ViewDestroyed; + } } \ No newline at end of file diff --git a/DdfGuide.Android/Properties/AndroidManifest.xml b/DdfGuide.Android/Properties/AndroidManifest.xml index b49a3d9..9cde069 100644 --- a/DdfGuide.Android/Properties/AndroidManifest.xml +++ b/DdfGuide.Android/Properties/AndroidManifest.xml @@ -1,9 +1,9 @@  - - + + - + \ No newline at end of file diff --git a/DdfGuide.Tests/Filtering/AllAudioDramasFilterTests.cs b/DdfGuide.Tests/Filtering/AllAudioDramasFilterTests.cs index edbafcc..4e58b34 100644 --- a/DdfGuide.Tests/Filtering/AllAudioDramasFilterTests.cs +++ b/DdfGuide.Tests/Filtering/AllAudioDramasFilterTests.cs @@ -1,5 +1,4 @@ -using System.Linq; -using DdfGuide.Core.Filtering; +using DdfGuide.Core.Filtering; using DdfGuide.Tests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/DdfGuide.Tests/Filtering/AudioDramaFilterFactoryTests.cs b/DdfGuide.Tests/Filtering/AudioDramaFilterFactoryTests.cs index 7fe340a..100c163 100644 --- a/DdfGuide.Tests/Filtering/AudioDramaFilterFactoryTests.cs +++ b/DdfGuide.Tests/Filtering/AudioDramaFilterFactoryTests.cs @@ -1,5 +1,4 @@ -using System; -using DdfGuide.Core.Filtering; +using DdfGuide.Core.Filtering; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace DdfGuide.Test.Filtering diff --git a/DdfGuide.Tests/Filtering/DieDreiFilterTests.cs b/DdfGuide.Tests/Filtering/DieDreiFilterTests.cs index 89ce1eb..3db1e45 100644 --- a/DdfGuide.Tests/Filtering/DieDreiFilterTests.cs +++ b/DdfGuide.Tests/Filtering/DieDreiFilterTests.cs @@ -1,5 +1,4 @@ -using System.Linq; -using DdfGuide.Core.Filtering; +using DdfGuide.Core.Filtering; using DdfGuide.Tests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/DdfGuide.Tests/Filtering/DieDreiFragezeichenFilterTests.cs b/DdfGuide.Tests/Filtering/DieDreiFragezeichenFilterTests.cs index ba90c80..1fcd771 100644 --- a/DdfGuide.Tests/Filtering/DieDreiFragezeichenFilterTests.cs +++ b/DdfGuide.Tests/Filtering/DieDreiFragezeichenFilterTests.cs @@ -1,5 +1,4 @@ -using System.Linq; -using DdfGuide.Core.Filtering; +using DdfGuide.Core.Filtering; using DdfGuide.Tests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/DdfGuide.Tests/Filtering/DieDreiFragezeichenKidsFilterTests.cs b/DdfGuide.Tests/Filtering/DieDreiFragezeichenKidsFilterTests.cs index 10de73b..c037c5f 100644 --- a/DdfGuide.Tests/Filtering/DieDreiFragezeichenKidsFilterTests.cs +++ b/DdfGuide.Tests/Filtering/DieDreiFragezeichenKidsFilterTests.cs @@ -1,5 +1,4 @@ -using System.Linq; -using DdfGuide.Core.Filtering; +using DdfGuide.Core.Filtering; using DdfGuide.Tests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/DdfGuide.Tests/Filtering/FavoritesOnlyFilterTests.cs b/DdfGuide.Tests/Filtering/FavoritesOnlyFilterTests.cs index 6943137..e5b1547 100644 --- a/DdfGuide.Tests/Filtering/FavoritesOnlyFilterTests.cs +++ b/DdfGuide.Tests/Filtering/FavoritesOnlyFilterTests.cs @@ -1,5 +1,4 @@ -using System.Linq; -using DdfGuide.Core.Filtering; +using DdfGuide.Core.Filtering; using DdfGuide.Tests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/DdfGuide.Tests/Filtering/MainAudioDramasOnlyFilterTests.cs b/DdfGuide.Tests/Filtering/MainAudioDramasOnlyFilterTests.cs index 9fcbab2..3da0da8 100644 --- a/DdfGuide.Tests/Filtering/MainAudioDramasOnlyFilterTests.cs +++ b/DdfGuide.Tests/Filtering/MainAudioDramasOnlyFilterTests.cs @@ -1,5 +1,4 @@ -using System.Linq; -using DdfGuide.Core.Filtering; +using DdfGuide.Core.Filtering; using DdfGuide.Tests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/DdfGuide.Tests/Filtering/SpecialAudioDramasOnlyFilterTests.cs b/DdfGuide.Tests/Filtering/SpecialAudioDramasOnlyFilterTests.cs index 6022d2c..a7840ef 100644 --- a/DdfGuide.Tests/Filtering/SpecialAudioDramasOnlyFilterTests.cs +++ b/DdfGuide.Tests/Filtering/SpecialAudioDramasOnlyFilterTests.cs @@ -1,5 +1,4 @@ -using System.Linq; -using DdfGuide.Core.Filtering; +using DdfGuide.Core.Filtering; using DdfGuide.Tests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/DdfGuide.Tests/Filtering/UnheardOnlyFilterTests.cs b/DdfGuide.Tests/Filtering/UnheardOnlyFilterTests.cs index e0cafe1..df5bd4d 100644 --- a/DdfGuide.Tests/Filtering/UnheardOnlyFilterTests.cs +++ b/DdfGuide.Tests/Filtering/UnheardOnlyFilterTests.cs @@ -1,5 +1,4 @@ -using System.Linq; -using DdfGuide.Core.Filtering; +using DdfGuide.Core.Filtering; using DdfGuide.Tests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/DdfGuide.Tests/Searching/AudioDramaSearcherTests.cs b/DdfGuide.Tests/Searching/AudioDramaSearcherTests.cs index 89ad2b8..eaaaa27 100644 --- a/DdfGuide.Tests/Searching/AudioDramaSearcherTests.cs +++ b/DdfGuide.Tests/Searching/AudioDramaSearcherTests.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; -using System.Linq; -using DdfGuide.Core; +using DdfGuide.Core; using DdfGuide.Core.Searching; using DdfGuide.Tests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/DdfGuide.Tests/Sorting/AudioDramaSorterFactoryTests.cs b/DdfGuide.Tests/Sorting/AudioDramaSorterFactoryTests.cs index c82198b..6b1968c 100644 --- a/DdfGuide.Tests/Sorting/AudioDramaSorterFactoryTests.cs +++ b/DdfGuide.Tests/Sorting/AudioDramaSorterFactoryTests.cs @@ -1,5 +1,4 @@ -using System; -using DdfGuide.Core.Sorting; +using DdfGuide.Core.Sorting; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace DdfGuide.Test.Sorting diff --git a/DdfGuide.Tests/Sorting/HeardFirstSorterTests.cs b/DdfGuide.Tests/Sorting/HeardFirstSorterTests.cs index 9506f35..6632fe4 100644 --- a/DdfGuide.Tests/Sorting/HeardFirstSorterTests.cs +++ b/DdfGuide.Tests/Sorting/HeardFirstSorterTests.cs @@ -1,5 +1,4 @@ -using System.Linq; -using DdfGuide.Core.Sorting; +using DdfGuide.Core.Sorting; using DdfGuide.Tests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/DdfGuide.Tests/Sorting/HeardLastSorterTests.cs b/DdfGuide.Tests/Sorting/HeardLastSorterTests.cs index a22cf97..5a44f94 100644 --- a/DdfGuide.Tests/Sorting/HeardLastSorterTests.cs +++ b/DdfGuide.Tests/Sorting/HeardLastSorterTests.cs @@ -1,5 +1,4 @@ -using System.Linq; -using DdfGuide.Core.Sorting; +using DdfGuide.Core.Sorting; using DdfGuide.Tests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/DdfGuide.Tests/Sorting/IsFavoriteFirstSorterTests.cs b/DdfGuide.Tests/Sorting/IsFavoriteFirstSorterTests.cs index 57e711e..757bbdd 100644 --- a/DdfGuide.Tests/Sorting/IsFavoriteFirstSorterTests.cs +++ b/DdfGuide.Tests/Sorting/IsFavoriteFirstSorterTests.cs @@ -1,5 +1,4 @@ -using System.Linq; -using DdfGuide.Core.Sorting; +using DdfGuide.Core.Sorting; using DdfGuide.Tests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/DdfGuide.Tests/Sorting/IsFavoriteLastSorterTests.cs b/DdfGuide.Tests/Sorting/IsFavoriteLastSorterTests.cs index c653712..df8b9a1 100644 --- a/DdfGuide.Tests/Sorting/IsFavoriteLastSorterTests.cs +++ b/DdfGuide.Tests/Sorting/IsFavoriteLastSorterTests.cs @@ -1,5 +1,4 @@ -using System.Linq; -using DdfGuide.Core.Sorting; +using DdfGuide.Core.Sorting; using DdfGuide.Tests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/DdfGuide.Tests/Sorting/NameAscendingSorterTests.cs b/DdfGuide.Tests/Sorting/NameAscendingSorterTests.cs index fa834da..0fd8250 100644 --- a/DdfGuide.Tests/Sorting/NameAscendingSorterTests.cs +++ b/DdfGuide.Tests/Sorting/NameAscendingSorterTests.cs @@ -1,5 +1,4 @@ -using System.Linq; -using DdfGuide.Core.Sorting; +using DdfGuide.Core.Sorting; using DdfGuide.Tests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/DdfGuide.Tests/Sorting/NameDescendingSorterTests.cs b/DdfGuide.Tests/Sorting/NameDescendingSorterTests.cs index 51e20f5..8d1359e 100644 --- a/DdfGuide.Tests/Sorting/NameDescendingSorterTests.cs +++ b/DdfGuide.Tests/Sorting/NameDescendingSorterTests.cs @@ -1,5 +1,4 @@ -using System.Linq; -using DdfGuide.Core.Sorting; +using DdfGuide.Core.Sorting; using DdfGuide.Tests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/DdfGuide.Tests/Sorting/NumberAscendingSorterTests.cs b/DdfGuide.Tests/Sorting/NumberAscendingSorterTests.cs index 78e2716..77f7cea 100644 --- a/DdfGuide.Tests/Sorting/NumberAscendingSorterTests.cs +++ b/DdfGuide.Tests/Sorting/NumberAscendingSorterTests.cs @@ -1,5 +1,4 @@ -using System.Linq; -using DdfGuide.Core.Sorting; +using DdfGuide.Core.Sorting; using DdfGuide.Tests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/DdfGuide.Tests/Sorting/NumberDescendingSorterTests.cs b/DdfGuide.Tests/Sorting/NumberDescendingSorterTests.cs index 9b9c397..3e5a5f9 100644 --- a/DdfGuide.Tests/Sorting/NumberDescendingSorterTests.cs +++ b/DdfGuide.Tests/Sorting/NumberDescendingSorterTests.cs @@ -1,5 +1,4 @@ -using System.Linq; -using DdfGuide.Core.Sorting; +using DdfGuide.Core.Sorting; using DdfGuide.Tests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/DdfGuide.Tests/Sorting/ReleaseDateAscendingSorterTests.cs b/DdfGuide.Tests/Sorting/ReleaseDateAscendingSorterTests.cs index 6598fd7..63e1a47 100644 --- a/DdfGuide.Tests/Sorting/ReleaseDateAscendingSorterTests.cs +++ b/DdfGuide.Tests/Sorting/ReleaseDateAscendingSorterTests.cs @@ -1,5 +1,4 @@ -using System.Linq; -using DdfGuide.Core.Sorting; +using DdfGuide.Core.Sorting; using DdfGuide.Tests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/DdfGuide.Tests/Sorting/ReleaseDateDescendingSorterTests.cs b/DdfGuide.Tests/Sorting/ReleaseDateDescendingSorterTests.cs index f1e1e57..f7c3d37 100644 --- a/DdfGuide.Tests/Sorting/ReleaseDateDescendingSorterTests.cs +++ b/DdfGuide.Tests/Sorting/ReleaseDateDescendingSorterTests.cs @@ -1,5 +1,4 @@ -using System.Linq; -using DdfGuide.Core.Sorting; +using DdfGuide.Core.Sorting; using DdfGuide.Tests; using Microsoft.VisualStudio.TestTools.UnitTesting;