Skip to content

Commit

Permalink
refactor: remove unused namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
filipeesch committed Oct 2, 2023
1 parent 29dc887 commit ba0595b
Show file tree
Hide file tree
Showing 14 changed files with 0 additions and 18 deletions.
1 change: 0 additions & 1 deletion src/KafkaFlow.Abstractions/Consumers/IWorker.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
namespace KafkaFlow
{
using System;
using KafkaFlow.Configuration;
using KafkaFlow.Observer;

/// <summary>
Expand Down
2 changes: 0 additions & 2 deletions src/KafkaFlow.Abstractions/MiddlewareLifetime.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
namespace KafkaFlow
{
using System;

/// <summary>
/// Specifies the lifetime of a middleware
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
namespace KafkaFlow.Admin.WebApi.Adapters
{
using System;
using System.Linq;
using KafkaFlow.Admin.WebApi.Contracts;
using KafkaFlow.Consumers;

Expand Down
1 change: 0 additions & 1 deletion src/KafkaFlow.Admin.WebApi/Contracts/GroupResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ namespace KafkaFlow.Admin.WebApi.Contracts
{
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using KafkaFlow.Consumers;
using Newtonsoft.Json;

/// <summary>
Expand Down
1 change: 0 additions & 1 deletion src/KafkaFlow.Admin.WebApi/Contracts/GroupsResponse.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
namespace KafkaFlow.Admin.WebApi.Contracts
{
using System.Collections.Generic;
using KafkaFlow.Consumers;

/// <summary>
/// The response of the consumer groups
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ namespace KafkaFlow.Admin.WebApi.Controllers
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using KafkaFlow.Admin.Messages;
using KafkaFlow.Admin.WebApi.Adapters;
using KafkaFlow.Admin.WebApi.Contracts;
using KafkaFlow.Consumers;
Expand Down
1 change: 0 additions & 1 deletion src/KafkaFlow.Admin.WebApi/Controllers/GroupsController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ namespace KafkaFlow.Admin.WebApi.Controllers
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using KafkaFlow.Admin.Messages;
using KafkaFlow.Admin.WebApi.Adapters;
using KafkaFlow.Admin.WebApi.Contracts;
using KafkaFlow.Consumers;
Expand Down
1 change: 0 additions & 1 deletion src/KafkaFlow.Compressor.Gzip/GzipMessageCompressor.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
namespace KafkaFlow.Compressor.Gzip
{
using System;
using System.IO;
using System.IO.Compression;

Expand Down
1 change: 0 additions & 1 deletion src/KafkaFlow.Compressor/ConfigurationBuilderExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
namespace KafkaFlow.Compressor
{
using System;
using KafkaFlow.Configuration;

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ namespace KafkaFlow.IntegrationTests
using KafkaFlow.IntegrationTests.Core.Handlers;
using KafkaFlow.IntegrationTests.Core.Messages;
using KafkaFlow.IntegrationTests.Core.Producers;
using KafkaFlow.Producers;

[TestClass]
public class CompressionSerializationTest
Expand Down
1 change: 0 additions & 1 deletion src/KafkaFlow.IntegrationTests/CompressionTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ namespace KafkaFlow.IntegrationTests
using KafkaFlow.IntegrationTests.Core;
using KafkaFlow.IntegrationTests.Core.Handlers;
using KafkaFlow.IntegrationTests.Core.Producers;
using KafkaFlow.Producers;

[TestClass]
public class CompressionTest
Expand Down
1 change: 0 additions & 1 deletion src/KafkaFlow.IntegrationTests/ConsumerTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ namespace KafkaFlow.IntegrationTests
using KafkaFlow.IntegrationTests.Core.Handlers;
using KafkaFlow.IntegrationTests.Core.Messages;
using KafkaFlow.IntegrationTests.Core.Producers;
using KafkaFlow.Producers;

[TestClass]
public class ConsumerTest
Expand Down
2 changes: 0 additions & 2 deletions src/KafkaFlow.UnitTests/OffsetCommitterTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@ namespace KafkaFlow.UnitTests
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Confluent.Kafka;
using FluentAssertions;
using KafkaFlow.Consumers;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
Expand Down
2 changes: 0 additions & 2 deletions src/KafkaFlow.Unity/UnityDependencyResolver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ namespace KafkaFlow.Unity
{
using System;
using System.Collections.Generic;
using System.Linq;
using global::Unity;
using global::Unity.Resolution;

/// <summary>
/// Unity implementation of <see cref="IDependencyResolver"/>
Expand Down

0 comments on commit ba0595b

Please sign in to comment.