We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ba3971 commit 486b396Copy full SHA for 486b396
src/ConnectedMode.UnitTests/LibGit2SharpWrappers/CommitWrapper.cs
@@ -24,14 +24,16 @@ namespace SonarLint.VisualStudio.ConnectedMode.UnitTests.LibGit2SharpWrappers
24
{
25
internal class CommitWrapper : Commit
26
27
+ private readonly ObjectId id;
28
+
29
internal CommitWrapper(byte commitID)
30
31
var bytes = new byte[20];
32
bytes[0] = commitID;
33
- Id = new ObjectId(bytes);
34
+ id = new ObjectId(bytes);
35
}
36
- public override ObjectId Id { get; }
37
+ public override ObjectId Id => id;
38
39
0 commit comments