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

@@ -15,7 +15,7 @@ namespace Wox.Storage
private List<HistoryItem> History = new List<HistoryItem>();
private int MaxHistory = 300;
private int cursor = 0;
private int cursor;
public static PluginMetadata MetaData { get; } = new PluginMetadata
{ ID = "Query history", Name = "Query history" };
@@ -61,7 +61,7 @@ namespace Wox.Storage
}
else
{
History.Add(new HistoryItem()
History.Add(new HistoryItem
{
Query = query,
ExecutedDateTime = DateTime.Now