Skip to content

Commit

Permalink
analizators/s4035
Browse files Browse the repository at this point in the history
  • Loading branch information
SuhorukovAnton committed Dec 28, 2021
1 parent 895e888 commit 5e91416
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion common/ASC.Api.Core/Core/ApiDateTime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
namespace ASC.Api.Core
{
[TypeConverter(typeof(ApiDateTimeTypeConverter))]
public class ApiDateTime : IComparable<ApiDateTime>, IComparable
public sealed class ApiDateTime : IComparable<ApiDateTime>, IComparable
{
internal static readonly string[] Formats = new[]
{
Expand Down
2 changes: 1 addition & 1 deletion common/ASC.VoipService/VoipModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public Queue(string id, string name, int size, string waitUrl, int waitTime)
}
}

public class WorkingHours
public sealed class WorkingHours
{
public bool Enabled { get; set; }
public TimeSpan? From { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion products/ASC.Files/Core/Core/Entries/FileEntry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public override bool Equals(object obj)
return obj is FileEntry<T> f && Equals(f.ID, ID);
}

public bool Equals(FileEntry<T> obj)
public virtual bool Equals(FileEntry<T> obj)
{
return Equals(obj.ID, ID);
}
Expand Down
2 changes: 1 addition & 1 deletion products/ASC.Files/Core/Core/Entries/Tag.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public enum TagType

[Serializable]
[DebuggerDisplay("{TagName} ({Id}) entry {EntryType} ({EntryId})")]
public class Tag
public sealed class Tag
{
public string TagName { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion web/ASC.Web.Core/Users/UserPhotoManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
namespace ASC.Web.Core.Users
{
[Transient]
public class ResizeWorkerItem : DistributedTask
public sealed class ResizeWorkerItem : DistributedTask
{
public ResizeWorkerItem()
{
Expand Down

0 comments on commit 5e91416

Please sign in to comment.