mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 18:32:56 +08:00
Make fields readonly
This commit is contained in:
parent
bb22243903
commit
37003e11b9
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user