mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
CA1825: use Array.Empty.
This commit is contained in:
@ -98,7 +98,7 @@ namespace osu.Game.Beatmaps
|
||||
{
|
||||
if (string.IsNullOrEmpty(value))
|
||||
{
|
||||
Bookmarks = new int[0];
|
||||
Bookmarks = Array.Empty<int>();
|
||||
return;
|
||||
}
|
||||
|
||||
@ -111,7 +111,7 @@ namespace osu.Game.Beatmaps
|
||||
}
|
||||
|
||||
[NotMapped]
|
||||
public int[] Bookmarks { get; set; } = new int[0];
|
||||
public int[] Bookmarks { get; set; } = Array.Empty<int>();
|
||||
|
||||
public double DistanceSpacing { get; set; }
|
||||
public int BeatDivisor { get; set; }
|
||||
|
Reference in New Issue
Block a user