Code cleanup

This commit is contained in:
Robert committed 2020-01-14 17:25:13 +01:00
1 parent c97b479779
commit f071871695
73 files changed
+372 -364

No files matched your search

@@ -26,7 +26,7 @@ namespace Artemis.Core.Plugins.Models
}
catch (JsonReaderException)
{
Value = default(T);
Value = default;
}
}
@@ -29,7 +29,7 @@ namespace Artemis.Core.Plugins.Models
/// <param name="name">The name of the setting</param>
/// <param name="defaultValue">The default value to use if the setting does not exist yet</param>
/// <returns></returns>
public PluginSetting<T> GetSetting<T>(string name, T defaultValue = default(T))
public PluginSetting<T> GetSetting<T>(string name, T defaultValue = default)
{
lock (_settingEntities)
{