From 1f024f000e830c74e0d3550aabc93b4f112267f2 Mon Sep 17 00:00:00 2001 From: NeoCoderMatrix86 <40752681+NeoCoderMatrix86@users.noreply.github.com> Date: Tue, 11 Jun 2024 13:40:36 +0200 Subject: [PATCH] Update MusicBrainzDataProvider.cs --- AudioCuesheetEditor/Data/Services/MusicBrainzDataProvider.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AudioCuesheetEditor/Data/Services/MusicBrainzDataProvider.cs b/AudioCuesheetEditor/Data/Services/MusicBrainzDataProvider.cs index 7ee78d1a..1e46b55d 100644 --- a/AudioCuesheetEditor/Data/Services/MusicBrainzDataProvider.cs +++ b/AudioCuesheetEditor/Data/Services/MusicBrainzDataProvider.cs @@ -45,7 +45,7 @@ public class MusicBrainzDataProvider public async Task> SearchArtistAsync(String searchString) { - List artistSearchResult = new(); + List artistSearchResult = []; if (String.IsNullOrEmpty(searchString) == false) { using var query = new Query(Application, ApplicationVersion, ProjectUrl); @@ -57,7 +57,7 @@ public async Task> SearchArtistAsync(Stri public async Task> SearchTitleAsync(String searchString, String? artist = null) { - List titleSearchResult = new(); + List titleSearchResult = []; if (String.IsNullOrEmpty(searchString) == false) { using var query = new Query(Application, ApplicationVersion, ProjectUrl);