qol: simplify default
This commit is contained in:
@@ -49,7 +49,7 @@ namespace Disco.Web.Models.Job
|
||||
public string ProviderPropertiesJson { get; set; }
|
||||
public Dictionary<string, string> ProviderProperties()
|
||||
{
|
||||
Dictionary<string, string> p = default(Dictionary<string, string>);
|
||||
var p = default(Dictionary<string, string>);
|
||||
if (!string.IsNullOrEmpty(ProviderPropertiesJson))
|
||||
{
|
||||
try
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace Disco.Web.Models.Job
|
||||
public string ProviderPropertiesJson { get; set; }
|
||||
public Dictionary<string, string> ProviderProperties()
|
||||
{
|
||||
Dictionary<string, string> p = default(Dictionary<string, string>);
|
||||
var p = default(Dictionary<string, string>);
|
||||
if (!string.IsNullOrEmpty(ProviderPropertiesJson))
|
||||
{
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user