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 | 06a5d9aae4a348ff93aeaa40ac3d3ae2e7354f0f (patch) | |
tree | 047960f05911f7c841223f7b6528fe30b8e52088 /Timeline/Services/TimelineService.cs | |
parent | 59c10650fc36e8c79c1def088240fd90a5151250 (diff) | |
download | timeline-06a5d9aae4a348ff93aeaa40ac3d3ae2e7354f0f.tar.gz timeline-06a5d9aae4a348ff93aeaa40ac3d3ae2e7354f0f.tar.bz2 timeline-06a5d9aae4a348ff93aeaa40ac3d3ae2e7354f0f.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];
|