1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 17:32:54 +08:00

Rename class back to original name so I can read the diff

This commit is contained in:
Dean Herbert 2023-05-05 16:19:09 +09:00
parent 4549a865d9
commit 0158102467
4 changed files with 5 additions and 5 deletions

View File

@ -107,7 +107,7 @@ namespace osu.Game.Tests.Database
storage.Dispose(); storage.Dispose();
} }
private class TestLegacyModelExporter : LegacyModelExporter<TestRealmObject> private class TestLegacyModelExporter : LegacyExporter<TestRealmObject>
{ {
public TestLegacyModelExporter(Storage storage) public TestLegacyModelExporter(Storage storage)
: base(storage) : base(storage)

View File

@ -17,7 +17,7 @@ using Logger = osu.Framework.Logging.Logger;
namespace osu.Game.Database namespace osu.Game.Database
{ {
public abstract class LegacyArchiveExporter<TModel> : LegacyModelExporter<TModel> public abstract class LegacyArchiveExporter<TModel> : LegacyExporter<TModel>
where TModel : RealmObject, IHasNamedFiles, IHasGuidPrimaryKey where TModel : RealmObject, IHasNamedFiles, IHasGuidPrimaryKey
{ {
protected LegacyArchiveExporter(Storage storage) protected LegacyArchiveExporter(Storage storage)

View File

@ -19,7 +19,7 @@ namespace osu.Game.Database
/// <summary> /// <summary>
/// A class which handles exporting legacy user data of a single type from osu-stable. /// A class which handles exporting legacy user data of a single type from osu-stable.
/// </summary> /// </summary>
public abstract class LegacyModelExporter<TModel> public abstract class LegacyExporter<TModel>
where TModel : RealmObject, IHasNamedFiles, IHasGuidPrimaryKey where TModel : RealmObject, IHasNamedFiles, IHasGuidPrimaryKey
{ {
/// <summary> /// <summary>
@ -54,7 +54,7 @@ namespace osu.Game.Database
/// Create a new exporter for each export, otherwise it will cause confusing notifications. /// Create a new exporter for each export, otherwise it will cause confusing notifications.
/// </summary> /// </summary>
/// <param name="storage">Storage for storing exported files. Basically it is used to provide export stream</param> /// <param name="storage">Storage for storing exported files. Basically it is used to provide export stream</param>
protected LegacyModelExporter(Storage storage) protected LegacyExporter(Storage storage)
{ {
exportStorage = storage.GetStorageForDirectory(@"exports"); exportStorage = storage.GetStorageForDirectory(@"exports");
UserFileStorage = storage.GetStorageForDirectory(@"files"); UserFileStorage = storage.GetStorageForDirectory(@"files");

View File

@ -11,7 +11,7 @@ using osu.Game.Scoring;
namespace osu.Game.Database namespace osu.Game.Database
{ {
public class LegacyScoreExporter : LegacyModelExporter<ScoreInfo> public class LegacyScoreExporter : LegacyExporter<ScoreInfo>
{ {
public LegacyScoreExporter(Storage storage) public LegacyScoreExporter(Storage storage)
: base(storage) : base(storage)