1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-20 20:33:21 +08:00

Remove unnecessary setters

This commit is contained in:
Drew DeVault 2016-10-10 14:35:44 -04:00
parent 300a6258c3
commit 37b3033f1c
2 changed files with 2 additions and 2 deletions
osu.Game/Beatmaps

View File

@ -6,7 +6,7 @@ namespace osu.Game.Beatmaps.Formats
{ {
public abstract class BeatmapDecoder public abstract class BeatmapDecoder
{ {
private static Dictionary<string, Type> decoders { get; set; } = new Dictionary<string, Type>(); private static Dictionary<string, Type> decoders { get; } = new Dictionary<string, Type>();
public static BeatmapDecoder GetDecoder(TextReader stream) public static BeatmapDecoder GetDecoder(TextReader stream)
{ {

View File

@ -13,7 +13,7 @@ namespace osu.Game.Beatmaps.IO
public Type Type { get; set; } public Type Type { get; set; }
} }
private static List<Reader> readers { get; set; } = new List<Reader>(); private static List<Reader> readers { get; } = new List<Reader>();
public static ArchiveReader GetReader(BasicStorage storage, string path) public static ArchiveReader GetReader(BasicStorage storage, string path)
{ {