Skip to content

Commit

Permalink
Update MusicBrainzDataProvider.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
NeoCoderMatrix86 committed Jun 11, 2024
1 parent 7df4fb8 commit 1f024f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AudioCuesheetEditor/Data/Services/MusicBrainzDataProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class MusicBrainzDataProvider

public async Task<IReadOnlyCollection<MusicBrainzArtist>> SearchArtistAsync(String searchString)
{
List<MusicBrainzArtist> artistSearchResult = new();
List<MusicBrainzArtist> artistSearchResult = [];
if (String.IsNullOrEmpty(searchString) == false)
{
using var query = new Query(Application, ApplicationVersion, ProjectUrl);
Expand All @@ -57,7 +57,7 @@ public async Task<IReadOnlyCollection<MusicBrainzArtist>> SearchArtistAsync(Stri

public async Task<IReadOnlyCollection<MusicBrainzTrack>> SearchTitleAsync(String searchString, String? artist = null)
{
List<MusicBrainzTrack> titleSearchResult = new();
List<MusicBrainzTrack> titleSearchResult = [];
if (String.IsNullOrEmpty(searchString) == false)
{
using var query = new Query(Application, ApplicationVersion, ProjectUrl);
Expand Down

0 comments on commit 1f024f0

Please sign in to comment.