From 1b531ecea68ef7ab18fc3f9dc32be6716056a163 Mon Sep 17 00:00:00 2001 From: Sebastian Stehle Date: Sat, 20 Oct 2018 15:00:24 +0200 Subject: [PATCH] Cleanup. --- src/Squidex.Domain.Apps.Entities/Schemas/BackupSchemas.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Squidex.Domain.Apps.Entities/Schemas/BackupSchemas.cs b/src/Squidex.Domain.Apps.Entities/Schemas/BackupSchemas.cs index 2b2862b6f..dab7c6d85 100644 --- a/src/Squidex.Domain.Apps.Entities/Schemas/BackupSchemas.cs +++ b/src/Squidex.Domain.Apps.Entities/Schemas/BackupSchemas.cs @@ -21,7 +21,6 @@ namespace Squidex.Domain.Apps.Entities.Schemas { public sealed class BackupSchemas : BackupHandler { - private readonly HashSet> schemaIds = new HashSet>(); private readonly Dictionary schemasByName = new Dictionary(); private readonly FieldRegistry fieldRegistry; private readonly IGrainFactory grainFactory; @@ -43,7 +42,6 @@ namespace Squidex.Domain.Apps.Entities.Schemas switch (@event.Payload) { case SchemaCreated schemaCreated: - schemaIds.Add(schemaCreated.SchemaId); schemasByName[schemaCreated.SchemaId.Name] = schemaCreated.SchemaId.Id; break; }