diff options
author | crupest <crupest@outlook.com> | 2019-11-18 19:29:37 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2019-11-18 19:29:37 +0800 |
commit | 468d7f4c416d4469375b7170beb5e388737c0970 (patch) | |
tree | 047960f05911f7c841223f7b6528fe30b8e52088 /Timeline/Services/TimelineService.cs | |
parent | 5b5bb69c3ba2150816f120860be46d49c5bc37aa (diff) | |
download | timeline-468d7f4c416d4469375b7170beb5e388737c0970.tar.gz timeline-468d7f4c416d4469375b7170beb5e388737c0970.tar.bz2 timeline-468d7f4c416d4469375b7170beb5e388737c0970.zip |
Write tests and fix bugs found via tests.
Diffstat (limited to 'Timeline/Services/TimelineService.cs')
-rw-r--r-- | Timeline/Services/TimelineService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Timeline/Services/TimelineService.cs b/Timeline/Services/TimelineService.cs index 494beb11..1d199aae 100644 --- a/Timeline/Services/TimelineService.cs +++ b/Timeline/Services/TimelineService.cs @@ -458,7 +458,7 @@ namespace Timeline.Services if (list != null)
{
Dictionary<string, int> result = new Dictionary<string, int>();
- var count = 0;
+ var count = list.Count;
for (var index = 0; index < count; index++)
{
var username = list[index];
|