In between auto refactoring.

This commit is contained in:
verhoek
2018-11-20 20:08:39 +01:00
parent 09b62a52ad
commit 0ee90d3b4e
2 changed files with 6 additions and 5 deletions
+6 -4
View File
@@ -106,10 +106,12 @@ namespace Duplicati.Library.Main
internal static void VerifyParameters(LocalDatabase db, Options options, System.Data.IDbTransaction transaction = null)
{
var newDict = new Dictionary<string, string>();
newDict.Add("blocksize", options.Blocksize.ToString());
newDict.Add("blockhash", options.BlockHashAlgorithm);
newDict.Add("filehash", options.FileHashAlgorithm);
var newDict = new Dictionary<string, string>
{
{ "blocksize", options.Blocksize.ToString() },
{ "blockhash", options.BlockHashAlgorithm },
{ "filehash", options.FileHashAlgorithm }
};
var opts = db.GetDbOptions(transaction);
if (options.NoEncryption)
-1
View File
@@ -18,7 +18,6 @@
using System;
using Duplicati.Server.Serialization.Interface;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Linq;
namespace Duplicati.Server.Database