Skip to content

Commit eca88ed

Browse files
author
Bart Koelman
committed
Fixed a few single-letter variable names
1 parent 21afcd9 commit eca88ed

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/Examples/JsonApiDotNetCoreExample/Definitions/ArticleHooksDefinition.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public override IEnumerable<Article> OnReturn(HashSet<Article> resources, Resour
2929
});
3030
}
3131

32-
return resources.Where(t => t.Caption != "This should not be included");
32+
return resources.Where(article => article.Caption != "This should not be included");
3333
}
3434
}
3535
}

src/Examples/JsonApiDotNetCoreExample/Definitions/PassportHooksDefinition.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public override void BeforeImplicitUpdateRelationship(IRelationshipsDictionary<P
3636

3737
public override IEnumerable<Passport> OnReturn(HashSet<Passport> resources, ResourcePipeline pipeline)
3838
{
39-
return resources.Where(p => !p.IsLocked);
39+
return resources.Where(passport => !passport.IsLocked);
4040
}
4141
}
4242
}

src/Examples/JsonApiDotNetCoreExample/Definitions/TagHooksDefinition.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public TagHooksDefinition(IResourceGraph resourceGraph)
1818

1919
public override IEnumerable<Tag> OnReturn(HashSet<Tag> resources, ResourcePipeline pipeline)
2020
{
21-
return resources.Where(t => t.Name != "This should not be included");
21+
return resources.Where(tag => tag.Name != "This should not be included");
2222
}
2323
}
2424
}

src/Examples/JsonApiDotNetCoreExample/Definitions/TodoItemHooksDefinition.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public override void BeforeImplicitUpdateRelationship(IRelationshipsDictionary<T
3737

3838
public override IEnumerable<TodoItem> OnReturn(HashSet<TodoItem> resources, ResourcePipeline pipeline)
3939
{
40-
return resources.Where(t => t.Description != "This should not be included");
40+
return resources.Where(todoItem => todoItem.Description != "This should not be included");
4141
}
4242
}
4343
}

0 commit comments

Comments
 (0)