mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 09:32:55 +08:00
code quality
This commit is contained in:
parent
def6da98fc
commit
dd69089117
@ -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)));
|
@ -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
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user