We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9034c85 commit ee7de38Copy full SHA for ee7de38
1 file changed
Ignia.Topics.Tests/TestDoubles/FakeTopicRepository.cs
@@ -51,9 +51,8 @@ public FakeTopicRepository() : base() {
51
/// <param name="topicId">The topic identifier.</param>
52
/// <param name="isRecursive">Determines whether or not to recurse through and load a topic's children.</param>
53
/// <returns>A topic object.</returns>
54
- public override Topic Load(int topicId, bool isRecursive = true) {
55
- return (topicId < 0)? _cache :_cache.FindFirst(t => t.Id.Equals(topicId));
56
- }
+ public override Topic Load(int topicId, bool isRecursive = true) =>
+ (topicId < 0)? _cache :_cache.FindFirst(t => t.Id.Equals(topicId));
57
58
/// <summary>
59
/// Loads a topic (and, optionally, all of its descendants) based on the specified key name.
0 commit comments