mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-01 07:51:54 +01:00
ReSharper conform to 'var' settings
This commit is contained in:
@@ -527,7 +527,7 @@ namespace Emby.Server.Implementations.Activity
|
||||
const int DaysInMonth = 30;
|
||||
|
||||
// Get each non-zero value from TimeSpan component
|
||||
List<string> values = new List<string>();
|
||||
var values = new List<string>();
|
||||
|
||||
// Number of years
|
||||
int days = span.Days;
|
||||
@@ -558,7 +558,7 @@ namespace Emby.Server.Implementations.Activity
|
||||
values.Add(CreateValueString(span.Seconds, "second"));
|
||||
|
||||
// Combine values into string
|
||||
StringBuilder builder = new StringBuilder();
|
||||
var builder = new StringBuilder();
|
||||
for (int i = 0; i < values.Count; i++)
|
||||
{
|
||||
if (builder.Length > 0)
|
||||
|
||||
Reference in New Issue
Block a user