Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
halgari committed Feb 21, 2024
1 parent 9036790 commit 802a054
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
16 changes: 13 additions & 3 deletions qodana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,9 @@ dotnet:
profile:
name: qodana.recommended
exclude:
- name: ClassNeverInstantiated.Global
- name: UnusedAutoPropertyAccessor.Global
- name: InconsistentNaming
paths:
- src\NexusMods.EventSourcing.DatomStore\Indexes
- name: UnusedMemberInSuper.Global
- name: UnusedMethodReturnValue.Global
paths:
- src\NexusMods.EventSourcing.Abstractions
Expand All @@ -23,3 +20,16 @@ exclude:
- name: NotAccessedField.Global
paths:
- tests\NexusMods.EventSourcing.DatomStore.Tests\ADatomStoreTest.cs
- name: UnusedAutoPropertyAccessor.Global
paths:
- src\NexusMods.EventSourcing.Abstractions
- tests\NexusMods.EventSourcing.TestModel\Model
- name: UnusedParameter.Global
paths:
- src\NexusMods.EventSourcing.Abstractions
- name: UnusedMemberInSuper.Global
paths:
- src\NexusMods.EventSourcing.Abstractions
- name: UnusedMember.Global
paths:
- src\NexusMods.EventSourcing.Abstractions
5 changes: 0 additions & 5 deletions src/NexusMods.EventSourcing/Transaction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ public EntityId TempId()
return EntityId.From(Interlocked.Increment(ref _tempId));
}

public void Add(IDatom datom)
{
_datoms.Add(datom);
}

/// <inheritdoc />
public void Add<TReadModel>(TReadModel model)
where TReadModel : IReadModel
Expand Down

0 comments on commit 802a054

Please sign in to comment.