ReSharper: remove redundant code

This commit is contained in:
bao-qian
2016-01-06 21:34:42 +00:00
parent ae42c4df16
commit 0daa3a8f57
65 changed files with 279 additions and 250 deletions

View File

@@ -29,7 +29,7 @@ namespace Wox.Core.Plugin
foreach (Type type in types)
{
PluginPair pair = new PluginPair()
PluginPair pair = new PluginPair
{
Plugin = Activator.CreateInstance(type) as IPlugin,
Metadata = metadata
@@ -38,7 +38,7 @@ namespace Wox.Core.Plugin
plugins.Add(pair);
}
}
catch (System.Exception e)
catch (Exception e)
{
Log.Error(new WoxPluginException(metadata.Name, $"Couldn't load plugin", e));
}