Skip to content

Commit 7e78ba6

Browse files
committed
Standardized end braces
Generally, we end code with `} //Class } //Namespace`. This was really inconsistently applied across the code base, however, likely due to replicating inconsistencies by copying and pasting older code. Sometimes there were multiple line breaks between braces, or at the end of the file. Other times, there were spaces between the comment and the identifier. I've standardized this across the code base.
1 parent c871f8b commit 7e78ba6

17 files changed

Lines changed: 34 additions & 58 deletions

Ignia.Topics.Web/Configuration/EditorElement.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,5 @@ public class EditorElement : ConfigurationElement {
5454
[ConfigurationProperty("admin")]
5555
public SourceElement Admin => this["admin"] as SourceElement;
5656

57-
} // Class
58-
59-
} // Namespace
60-
57+
} //Class
58+
} //Namespace

Ignia.Topics.Web/Configuration/PageTypeElement.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,5 @@ public class PageTypeElement : ConfigurationElement {
4343
[ConfigurationProperty("type", IsRequired = false)]
4444
public Type Type => this["type"] as Type;
4545

46-
} // Class
47-
48-
} // Namespace
49-
46+
} //Class
47+
} //Namespace

Ignia.Topics.Web/Configuration/PageTypeElementCollection.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,5 @@ protected override object GetElementKey(ConfigurationElement element) {
7676
return ((PageTypeElement)element);
7777
}
7878

79-
} // Class
80-
81-
} // Namespace
79+
} //Class
80+
} //Namespace

Ignia.Topics.Web/Configuration/SourceElement.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,5 @@ public static bool IsEnabled(SourceElement element, bool evaluateValue) {
289289
/// </returns>
290290
public static bool IsTrusted(SourceElement element) => (element == null)? false : element.Trusted;
291291

292-
} // Class
293-
294-
} // Namespace
295-
292+
} //Class
293+
} //Namespace

Ignia.Topics.Web/Configuration/SourceElementCollection.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,5 @@ protected override object GetElementKey(ConfigurationElement element) {
7272
return ((SourceElement)element).Source;
7373
}
7474

75-
} // Class
76-
77-
} // Namespace
75+
} //Class
76+
} //Namespace

Ignia.Topics.Web/Configuration/TopicsSection.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,5 @@ public string TopicDelimiter {
8484
/// </summary>
8585
public PageTypeElementCollection GetPageTypes() => this["pageTypes"] as PageTypeElementCollection;
8686

87-
} // Class
88-
89-
} // Namespace
90-
87+
} //Class
88+
} //Namespace

Ignia.Topics.Web/Configuration/VersioningElement.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,5 @@ public class VersioningElement : ConfigurationElement {
3434
[ConfigurationProperty("draftMode")]
3535
public SourceElement DraftMode => this["draftMode"] as SourceElement;
3636

37-
} // Class
38-
39-
} // Namespace
40-
37+
} //Class
38+
} //Namespace

Ignia.Topics.Web/Configuration/ViewsElement.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,5 @@ public class ViewsElement : ConfigurationElement {
2727
[ConfigurationProperty("path", IsRequired=false)]
2828
public string Path => this["path"] as string;
2929

30-
} // Class
31-
32-
} // Namespace
33-
30+
} //Class
31+
} //Namespace

Ignia.Topics.Web/Editor/AttributeTypeControl.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,5 @@ public AttributeTypeControl() : base() { }
7575
/// </summary>
7676
public virtual bool Required { get; set; }
7777

78-
} // Class
79-
80-
} // Namespace
78+
} //Class
79+
} //Namespace

Ignia.Topics.Web/Editor/FilePath.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,5 @@ public static string GetPath(
101101

102102
}
103103

104-
} // Class
105-
106-
} // Namespace
104+
} //Class
105+
} //Namespace

0 commit comments

Comments
 (0)