Remove redundant ToString call
This commit is contained in:
parent
08ce477226
commit
9d738bb601
|
@ -50,7 +50,7 @@ namespace MediaBrowser.Common.Plugins
|
||||||
if (Version is not null && !Directory.Exists(dataFolderPath))
|
if (Version is not null && !Directory.Exists(dataFolderPath))
|
||||||
{
|
{
|
||||||
// Try again with the version number appended to the folder name.
|
// Try again with the version number appended to the folder name.
|
||||||
dataFolderPath += "_" + Version.ToString();
|
dataFolderPath += "_" + Version;
|
||||||
}
|
}
|
||||||
|
|
||||||
SetAttributes(assemblyFilePath, dataFolderPath, assemblyName.Version);
|
SetAttributes(assemblyFilePath, dataFolderPath, assemblyName.Version);
|
||||||
|
|
|
@ -375,7 +375,7 @@ namespace MediaBrowser.LocalMetadata.Savers
|
||||||
await writer.WriteStartElementAsync(null, "Person", null).ConfigureAwait(false);
|
await writer.WriteStartElementAsync(null, "Person", null).ConfigureAwait(false);
|
||||||
await writer.WriteElementStringAsync(null, "Name", null, person.Name).ConfigureAwait(false);
|
await writer.WriteElementStringAsync(null, "Name", null, person.Name).ConfigureAwait(false);
|
||||||
await writer.WriteElementStringAsync(null, "Type", null, person.Type.ToString()).ConfigureAwait(false);
|
await writer.WriteElementStringAsync(null, "Type", null, person.Type.ToString()).ConfigureAwait(false);
|
||||||
await writer.WriteElementStringAsync(null, "Role", null, person.Role.ToString()).ConfigureAwait(false);
|
await writer.WriteElementStringAsync(null, "Role", null, person.Role).ConfigureAwait(false);
|
||||||
|
|
||||||
if (person.SortOrder.HasValue)
|
if (person.SortOrder.HasValue)
|
||||||
{
|
{
|
||||||
|
|
|
@ -644,7 +644,7 @@ namespace Rssdp.Infrastructure
|
||||||
|
|
||||||
public string Key
|
public string Key
|
||||||
{
|
{
|
||||||
get { return this.SearchTarget + ":" + this.EndPoint.ToString(); }
|
get { return this.SearchTarget + ":" + this.EndPoint; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool IsOld()
|
public bool IsOld()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user