fix-messages: IDE0054

This commit is contained in:
SuhorukovAnton 2020-09-29 12:03:37 +03:00
parent 2d34d70a4e
commit b7cc10c13a
2 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ namespace ASC.Data.Backup.Tasks.Data
}
else if (sb.Length > 0)
{
sb.Length = sb.Length - 2;
sb.Length -= 2;
}
return sb.ToString();

View File

@ -920,7 +920,7 @@ namespace ASC.Web.Files.ThirdPartyApp
if (extTitle != correctExt)
{
title = title + correctExt;
title += correctExt;
}
return title;
}