From d99fcb2183fde984e03e9f947d8400bff86be690 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Thu, 11 Jun 2026 13:49:13 +0900 Subject: [PATCH] Apply new code styling (EAP) --- .../BeatmapCarouselFilterGroupingTest.cs | 8 ++++---- ...TestSceneBeatmapCarouselCollectionGrouping.cs | 16 ++++++++-------- .../Overlays/Rankings/Tables/RankingsTable.cs | 2 +- .../RankedPlayCardContent.AttributeListing.cs | 2 +- osu.Game/Utils/SupportedExtensions.cs | 6 +++--- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/osu.Game.Tests/Visual/SongSelect/BeatmapCarouselFilterGroupingTest.cs b/osu.Game.Tests/Visual/SongSelect/BeatmapCarouselFilterGroupingTest.cs index 814e93014b..978bf6c7f6 100644 --- a/osu.Game.Tests/Visual/SongSelect/BeatmapCarouselFilterGroupingTest.cs +++ b/osu.Game.Tests/Visual/SongSelect/BeatmapCarouselFilterGroupingTest.cs @@ -34,10 +34,10 @@ namespace osu.Game.Tests.Visual.SongSelect BeatmapInfo[] allBeatmaps = [ - ..beatmap1.Beatmaps, - ..beatmap2.Beatmaps, - ..beatmap3.Beatmaps, - ..beatmap4.Beatmaps + .. beatmap1.Beatmaps, + .. beatmap2.Beatmaps, + .. beatmap3.Beatmaps, + .. beatmap4.Beatmaps ]; var results = await runGrouping(GroupMode.None, beatmapSets); diff --git a/osu.Game.Tests/Visual/SongSelect/TestSceneBeatmapCarouselCollectionGrouping.cs b/osu.Game.Tests/Visual/SongSelect/TestSceneBeatmapCarouselCollectionGrouping.cs index 0d7b9c2991..fadcd63a4c 100644 --- a/osu.Game.Tests/Visual/SongSelect/TestSceneBeatmapCarouselCollectionGrouping.cs +++ b/osu.Game.Tests/Visual/SongSelect/TestSceneBeatmapCarouselCollectionGrouping.cs @@ -26,23 +26,23 @@ namespace osu.Game.Tests.Visual.SongSelect List collections = [ new BeatmapCollection("collection one", [ - ..BeatmapSets[0].Beatmaps.Select(b => b.MD5Hash), - ..BeatmapSets[1].Beatmaps.Select(b => b.MD5Hash), - ..BeatmapSets[2].Beatmaps.Select(b => b.MD5Hash), + .. BeatmapSets[0].Beatmaps.Select(b => b.MD5Hash), + .. BeatmapSets[1].Beatmaps.Select(b => b.MD5Hash), + .. BeatmapSets[2].Beatmaps.Select(b => b.MD5Hash), BeatmapSets[5].Beatmaps[1].MD5Hash, BeatmapSets[8].Beatmaps[0].MD5Hash, ]), new BeatmapCollection("collection two", [ BeatmapSets[0].Beatmaps[0].MD5Hash, - ..BeatmapSets[1].Beatmaps.Select(b => b.MD5Hash), - ..BeatmapSets[2].Beatmaps.Select(b => b.MD5Hash), + .. BeatmapSets[1].Beatmaps.Select(b => b.MD5Hash), + .. BeatmapSets[2].Beatmaps.Select(b => b.MD5Hash), BeatmapSets[6].Beatmaps[2].MD5Hash, BeatmapSets[8].Beatmaps[2].MD5Hash, ]), new BeatmapCollection("collection one copy", [ - ..BeatmapSets[0].Beatmaps.Select(b => b.MD5Hash), - ..BeatmapSets[1].Beatmaps.Select(b => b.MD5Hash), - ..BeatmapSets[2].Beatmaps.Select(b => b.MD5Hash), + .. BeatmapSets[0].Beatmaps.Select(b => b.MD5Hash), + .. BeatmapSets[1].Beatmaps.Select(b => b.MD5Hash), + .. BeatmapSets[2].Beatmaps.Select(b => b.MD5Hash), BeatmapSets[5].Beatmaps[1].MD5Hash, BeatmapSets[8].Beatmaps[0].MD5Hash, ]), diff --git a/osu.Game/Overlays/Rankings/Tables/RankingsTable.cs b/osu.Game/Overlays/Rankings/Tables/RankingsTable.cs index f4ed41800a..ea4c0462d6 100644 --- a/osu.Game/Overlays/Rankings/Tables/RankingsTable.cs +++ b/osu.Game/Overlays/Rankings/Tables/RankingsTable.cs @@ -97,7 +97,7 @@ namespace osu.Game.Overlays.Rankings.Tables Children = [ new UpdateableFlag(GetCountryCode(item)) { Size = new Vector2(28, 20) }, - ..CreateFlagContent(item) + .. CreateFlagContent(item) ] }; diff --git a/osu.Game/Screens/OnlinePlay/Matchmaking/RankedPlay/Card/RankedPlayCardContent.AttributeListing.cs b/osu.Game/Screens/OnlinePlay/Matchmaking/RankedPlay/Card/RankedPlayCardContent.AttributeListing.cs index 1fca5b09c0..62bd6368b2 100644 --- a/osu.Game/Screens/OnlinePlay/Matchmaking/RankedPlay/Card/RankedPlayCardContent.AttributeListing.cs +++ b/osu.Game/Screens/OnlinePlay/Matchmaking/RankedPlay/Card/RankedPlayCardContent.AttributeListing.cs @@ -97,7 +97,7 @@ namespace osu.Game.Screens.OnlinePlay.Matchmaking.RankedPlay.Card }, ] }, - ..ruleset.GetBeatmapAttributesForRankedPlayCard(beatmap, []).Select(attribute => new AttributeRow(attribute)) + .. ruleset.GetBeatmapAttributesForRankedPlayCard(beatmap, []).Select(attribute => new AttributeRow(attribute)) ] }; } diff --git a/osu.Game/Utils/SupportedExtensions.cs b/osu.Game/Utils/SupportedExtensions.cs index ec1538a041..02ad710286 100644 --- a/osu.Game/Utils/SupportedExtensions.cs +++ b/osu.Game/Utils/SupportedExtensions.cs @@ -11,9 +11,9 @@ namespace osu.Game.Utils public static readonly string[] ALL_EXTENSIONS = [ - ..VIDEO_EXTENSIONS, - ..AUDIO_EXTENSIONS, - ..IMAGE_EXTENSIONS + .. VIDEO_EXTENSIONS, + .. AUDIO_EXTENSIONS, + .. IMAGE_EXTENSIONS ]; } }