Skip to content

Commit

Permalink
codacy
Browse files Browse the repository at this point in the history
  • Loading branch information
simaoribeiro committed Oct 14, 2023
1 parent 0265472 commit e80ebdc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
using System;

internal class ErrorExecutingMiddlewareException : Exception
public class ErrorExecutingMiddlewareException : Exception
{
public ErrorExecutingMiddlewareException(string middlewareName)
: base($"Exception thrown executing {middlewareName}")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
using System;

internal class PartitionAssignmentException : Exception
public class PartitionAssignmentException : Exception
{
private const string ExceptionMessage = "Partition assignment hasn't occurred yet.";

Expand Down
2 changes: 1 addition & 1 deletion src/KafkaFlow.IntegrationTests/GlobalEventsTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ private void ConfigureConsumer<T>(IConsumerConfigurationBuilder consumerConfigur
middlewares => middlewares
.AddSerializer<ProtobufNetSerializer>()
.Add<T>())
.WithPartitionsAssignedHandler((_, partitions) =>
.WithPartitionsAssignedHandler((_, _) =>
{
this.isPartitionAssigned = true;
});
Expand Down
2 changes: 1 addition & 1 deletion src/KafkaFlow.IntegrationTests/OpenTelemetryTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ private async Task<IServiceProvider> GetServiceProvider()
middlewares => middlewares
.AddCompressor<GzipMessageCompressor>()
.Add<GzipMiddleware>())
.WithPartitionsAssignedHandler((_, partitions) =>
.WithPartitionsAssignedHandler((_, _) =>
{
this.isPartitionAssigned = true;
})))
Expand Down

0 comments on commit e80ebdc

Please sign in to comment.