Skip to content

Commit 4f2bf50

Browse files
committed
Marked ResetAttributeDescriptors() as static
Since it doesn't work with any state data. As this is a `private` function, this doesn't affect the public API in any way, nor any calls to the function.
1 parent fb54682 commit 4f2bf50

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OnTopic/Repositories/TopicRepositoryBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ topic is AttributeDescriptor &&
634634
/// reflected.
635635
/// </remarks>
636636
/// <param name="topic">The <see cref="Topic"/> to evaluate as an <see cref="AttributeDescriptor"/>.</param>
637-
private void ResetAttributeDescriptors(Topic topic) {
637+
private static void ResetAttributeDescriptors(Topic topic) {
638638
if (IsAttributeDescriptor(topic)) {
639639
((ContentTypeDescriptor)topic.Parent!.Parent!).ResetAttributeDescriptors();
640640
}

0 commit comments

Comments
 (0)