From 37b3033f1cc8475533d3a44551ece705eb9c9ebf Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Mon, 10 Oct 2016 14:35:44 -0400 Subject: [PATCH] Remove unnecessary setters --- osu.Game/Beatmaps/Formats/BeatmapDecoder.cs | 2 +- osu.Game/Beatmaps/IO/ArchiveReader.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/osu.Game/Beatmaps/Formats/BeatmapDecoder.cs b/osu.Game/Beatmaps/Formats/BeatmapDecoder.cs index d6c792e06c..91e647964a 100644 --- a/osu.Game/Beatmaps/Formats/BeatmapDecoder.cs +++ b/osu.Game/Beatmaps/Formats/BeatmapDecoder.cs @@ -6,7 +6,7 @@ namespace osu.Game.Beatmaps.Formats { public abstract class BeatmapDecoder { - private static Dictionary decoders { get; set; } = new Dictionary(); + private static Dictionary decoders { get; } = new Dictionary(); public static BeatmapDecoder GetDecoder(TextReader stream) { diff --git a/osu.Game/Beatmaps/IO/ArchiveReader.cs b/osu.Game/Beatmaps/IO/ArchiveReader.cs index 292973a275..8fe3df0685 100644 --- a/osu.Game/Beatmaps/IO/ArchiveReader.cs +++ b/osu.Game/Beatmaps/IO/ArchiveReader.cs @@ -13,7 +13,7 @@ namespace osu.Game.Beatmaps.IO public Type Type { get; set; } } - private static List readers { get; set; } = new List(); + private static List readers { get; } = new List(); public static ArchiveReader GetReader(BasicStorage storage, string path) {