1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 01:27:29 +08:00

Make fields readonly

This commit is contained in:
Andrei Zavatski 2020-02-18 18:04:39 +03:00
parent bb22243903
commit 37003e11b9

View File

@ -65,7 +65,7 @@ namespace osu.Game.Tests.Visual.UserInterface
AddStep("Set null beatmap", () => section.BeatmapSet = null);
}
private static BeatmapSetInfo beatmap_set = new BeatmapSetInfo
private static readonly BeatmapSetInfo beatmap_set = new BeatmapSetInfo
{
OnlineInfo = new BeatmapSetOnlineInfo
{
@ -76,7 +76,7 @@ namespace osu.Game.Tests.Visual.UserInterface
}
};
private static BeatmapSetInfo no_cover_beatmap_set = new BeatmapSetInfo
private static readonly BeatmapSetInfo no_cover_beatmap_set = new BeatmapSetInfo
{
OnlineInfo = new BeatmapSetOnlineInfo
{