diff --git a/src/Umbraco.Web/PublishedCache/NuCache/DataSource/PropertyData.cs b/src/Umbraco.Web/PublishedCache/NuCache/DataSource/PropertyData.cs index 9f0b3cf7fa..29cbed08b6 100644 --- a/src/Umbraco.Web/PublishedCache/NuCache/DataSource/PropertyData.cs +++ b/src/Umbraco.Web/PublishedCache/NuCache/DataSource/PropertyData.cs @@ -5,22 +5,11 @@ namespace Umbraco.Web.PublishedCache.NuCache.DataSource { internal class PropertyData { - private string _culture; - private string _segment; - [JsonProperty("culture")] - public string Culture - { - get => _culture; - set => _culture = value ?? throw new ArgumentNullException(nameof(value)); - } + public string Culture { get; set; } [JsonProperty("seg")] - public string Segment - { - get => _segment; - set => _segment = value ?? throw new ArgumentNullException(nameof(value)); - } + public string Segment { get; set; } [JsonProperty("val")] public object Value { get; set; }