From 945050858e605fc78e11da2f6d2810400599bc35 Mon Sep 17 00:00:00 2001 From: Stephan Date: Tue, 18 Jul 2017 09:11:12 +0200 Subject: [PATCH] Cleanup --- src/Umbraco.Core/Models/Content.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Umbraco.Core/Models/Content.cs b/src/Umbraco.Core/Models/Content.cs index b3fbe4164b..70cb877183 100644 --- a/src/Umbraco.Core/Models/Content.cs +++ b/src/Umbraco.Core/Models/Content.cs @@ -23,7 +23,7 @@ namespace Umbraco.Core.Models private DateTime? _expireDate; private int _writer; private string _nodeName;//NOTE Once localization is introduced this will be the non-localized Node Name. - private bool _permissionsChanged; + /// /// Constructor for creating a Content object /// @@ -32,7 +32,7 @@ namespace Umbraco.Core.Models /// ContentType for the current Content object public Content(string name, IContent parent, IContentType contentType) : this(name, parent, contentType, new PropertyCollection()) - { + { } /// @@ -68,7 +68,7 @@ namespace Umbraco.Core.Models /// Id of the Parent content /// ContentType for the current Content object /// Collection of properties - public Content(string name, int parentId, IContentType contentType, PropertyCollection properties) + public Content(string name, int parentId, IContentType contentType, PropertyCollection properties) : base(name, parentId, contentType, properties) { Mandate.ParameterNotNull(contentType, "contentType"); @@ -94,7 +94,7 @@ namespace Umbraco.Core.Models /// This is used to override the default one from the ContentType. /// /// - /// If no template is explicitly set on the Content object, + /// If no template is explicitly set on the Content object, /// the Default template from the ContentType will be returned. /// [DataMember] @@ -195,7 +195,7 @@ namespace Umbraco.Core.Models get { return _nodeName; } set { SetPropertyValueAndDetectChanges(value, ref _nodeName, Ps.Value.NodeNameSelector); } } - + /// /// Gets the ContentType used by this content object @@ -283,7 +283,7 @@ namespace Umbraco.Core.Models ChangePublishedState(PublishedState.Unpublished); } } - + /// /// Method to call when Entity is being updated ///