1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 09:32:55 +08:00

code quality

This commit is contained in:
cdwcgt 2023-04-09 15:43:18 +09:00
parent def6da98fc
commit dd69089117
No known key found for this signature in database
GPG Key ID: 144396D01095C3A2
4 changed files with 5 additions and 4 deletions

View File

@ -92,7 +92,6 @@ namespace osu.Game.Tests.Database
private void exportItemAndAssert(TestRealmObject item, string expectedName)
{
// ReSharper disable once AsyncVoidLambda
Assert.DoesNotThrow(() =>
{
Task t = Task.Run(() => legacyExporter.ExportAsync(new TestRealmLive(item)));

View File

@ -107,7 +107,7 @@ namespace osu.Game.Database
.GetFiles(string.Empty, $"{itemFilename}*{FileExtension}")
.Concat(exportStorage.GetDirectories(string.Empty));
string filename = NamingUtils.GetNextBestFilename(existingExports, $"{itemFilename}{FileExtension}");
bool success = false;
bool success;
ProgressNotification notification = new ProgressNotification
{

View File

@ -13,7 +13,8 @@ namespace osu.Game.Database
{
public class LegacyScoreExporter : LegacyModelExporter<ScoreInfo>
{
public LegacyScoreExporter(Storage storage) : base(storage)
public LegacyScoreExporter(Storage storage)
: base(storage)
{
}

View File

@ -8,7 +8,8 @@ namespace osu.Game.Database
{
public class LegacySkinExporter : LegacyArchiveExporter<SkinInfo>
{
public LegacySkinExporter(Storage storage) : base(storage)
public LegacySkinExporter(Storage storage)
: base(storage)
{
}