diff --git a/src/benchmark/Akka.Benchmarks/Actor/ActorMemoryFootprintBenchmark.cs b/src/benchmark/Akka.Benchmarks/Actor/ActorMemoryFootprintBenchmark.cs index 9989721cc0b..989986b100e 100644 --- a/src/benchmark/Akka.Benchmarks/Actor/ActorMemoryFootprintBenchmark.cs +++ b/src/benchmark/Akka.Benchmarks/Actor/ActorMemoryFootprintBenchmark.cs @@ -5,9 +5,6 @@ // //----------------------------------------------------------------------- -using System; -using System.Collections.Generic; -using System.Text; using System.Threading.Tasks; using Akka.Actor; using Akka.Benchmarks.Configurations; diff --git a/src/benchmark/Akka.Benchmarks/Actor/ActorPathBenchmarks.cs b/src/benchmark/Akka.Benchmarks/Actor/ActorPathBenchmarks.cs index 6507904f673..94345e93d22 100644 --- a/src/benchmark/Akka.Benchmarks/Actor/ActorPathBenchmarks.cs +++ b/src/benchmark/Akka.Benchmarks/Actor/ActorPathBenchmarks.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using Akka.Actor; using Akka.Benchmarks.Configurations; using BenchmarkDotNet.Attributes; diff --git a/src/benchmark/Akka.Benchmarks/Actor/ActorRefBenchmarks.cs b/src/benchmark/Akka.Benchmarks/Actor/ActorRefBenchmarks.cs index b008909a1e7..025cd7fdc3b 100644 --- a/src/benchmark/Akka.Benchmarks/Actor/ActorRefBenchmarks.cs +++ b/src/benchmark/Akka.Benchmarks/Actor/ActorRefBenchmarks.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Threading.Tasks; using Akka.Actor; using Akka.Benchmarks.Configurations; using BenchmarkDotNet.Attributes; diff --git a/src/benchmark/Akka.Benchmarks/Actor/ActorSelectionBenchmark.cs b/src/benchmark/Akka.Benchmarks/Actor/ActorSelectionBenchmark.cs index 0ad7d5eca1d..27d5e4c5fba 100644 --- a/src/benchmark/Akka.Benchmarks/Actor/ActorSelectionBenchmark.cs +++ b/src/benchmark/Akka.Benchmarks/Actor/ActorSelectionBenchmark.cs @@ -6,14 +6,10 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; -using System.Net.NetworkInformation; -using System.Text; using System.Threading.Tasks; using Akka.Actor; using Akka.Benchmarks.Configurations; using BenchmarkDotNet.Attributes; -using BenchmarkDotNet.Engines; namespace Akka.Benchmarks.Actor { diff --git a/src/benchmark/Akka.Benchmarks/Actor/GetChildBenchmark.cs b/src/benchmark/Akka.Benchmarks/Actor/GetChildBenchmark.cs index eefbef1923b..af44a96940b 100644 --- a/src/benchmark/Akka.Benchmarks/Actor/GetChildBenchmark.cs +++ b/src/benchmark/Akka.Benchmarks/Actor/GetChildBenchmark.cs @@ -12,7 +12,6 @@ using Akka.Actor; using Akka.Benchmarks.Configurations; using BenchmarkDotNet.Attributes; -using BenchmarkDotNet.Engines; using FluentAssertions; namespace Akka.Benchmarks.Actor diff --git a/src/benchmark/Akka.Benchmarks/Actor/PingPongBenchmarks.cs b/src/benchmark/Akka.Benchmarks/Actor/PingPongBenchmarks.cs index 73ee3578c30..5e36308fdc2 100644 --- a/src/benchmark/Akka.Benchmarks/Actor/PingPongBenchmarks.cs +++ b/src/benchmark/Akka.Benchmarks/Actor/PingPongBenchmarks.cs @@ -9,7 +9,6 @@ using System.Threading.Tasks; using Akka.Actor; using Akka.Benchmarks.Configurations; -using Akka.Configuration; using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Engines; diff --git a/src/benchmark/Akka.Benchmarks/Cluster/HeartbeatNodeRingBenchmarks.cs b/src/benchmark/Akka.Benchmarks/Cluster/HeartbeatNodeRingBenchmarks.cs index adb17227640..c2d47921df7 100644 --- a/src/benchmark/Akka.Benchmarks/Cluster/HeartbeatNodeRingBenchmarks.cs +++ b/src/benchmark/Akka.Benchmarks/Cluster/HeartbeatNodeRingBenchmarks.cs @@ -5,11 +5,8 @@ // //----------------------------------------------------------------------- -using System; -using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; -using System.Text; using Akka.Actor; using Akka.Benchmarks.Configurations; using Akka.Cluster; diff --git a/src/benchmark/Akka.Benchmarks/Cluster/ReachabilityBenchmarks.cs b/src/benchmark/Akka.Benchmarks/Cluster/ReachabilityBenchmarks.cs index 564886ba8d2..c309af68f11 100644 --- a/src/benchmark/Akka.Benchmarks/Cluster/ReachabilityBenchmarks.cs +++ b/src/benchmark/Akka.Benchmarks/Cluster/ReachabilityBenchmarks.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using Akka.Util; diff --git a/src/benchmark/Akka.Benchmarks/Cluster/VectorClockBenchmarks.cs b/src/benchmark/Akka.Benchmarks/Cluster/VectorClockBenchmarks.cs index c9e13be7b26..4c69a83ab2e 100644 --- a/src/benchmark/Akka.Benchmarks/Cluster/VectorClockBenchmarks.cs +++ b/src/benchmark/Akka.Benchmarks/Cluster/VectorClockBenchmarks.cs @@ -6,10 +6,8 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; -using System.Text; using Akka.Benchmarks.Configurations; using Akka.Cluster; using BenchmarkDotNet.Attributes; diff --git a/src/benchmark/Akka.Benchmarks/DData/ORSetBenchmarks.cs b/src/benchmark/Akka.Benchmarks/DData/ORSetBenchmarks.cs index 53fceed79b9..74ee48dc901 100644 --- a/src/benchmark/Akka.Benchmarks/DData/ORSetBenchmarks.cs +++ b/src/benchmark/Akka.Benchmarks/DData/ORSetBenchmarks.cs @@ -8,7 +8,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Text; using Akka.Actor; using Akka.Benchmarks.Configurations; using Akka.Cluster; diff --git a/src/benchmark/Akka.Benchmarks/DData/VersionVectorBenchmark.cs b/src/benchmark/Akka.Benchmarks/DData/VersionVectorBenchmark.cs index 72956c26879..8fcd08d1fa5 100644 --- a/src/benchmark/Akka.Benchmarks/DData/VersionVectorBenchmark.cs +++ b/src/benchmark/Akka.Benchmarks/DData/VersionVectorBenchmark.cs @@ -6,10 +6,8 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; -using System.Text; using Akka.Benchmarks.Configurations; using Akka.Cluster; using Akka.DistributedData; diff --git a/src/benchmark/Akka.Benchmarks/Dispatch/MailboxThroughputBenchmarks.cs b/src/benchmark/Akka.Benchmarks/Dispatch/MailboxThroughputBenchmarks.cs index bd1df7174d7..273fdc14e94 100644 --- a/src/benchmark/Akka.Benchmarks/Dispatch/MailboxThroughputBenchmarks.cs +++ b/src/benchmark/Akka.Benchmarks/Dispatch/MailboxThroughputBenchmarks.cs @@ -8,7 +8,6 @@ using System; using System.Threading.Tasks; using Akka.Actor; -using Akka.Actor.Dsl; using Akka.Benchmarks.Configurations; using Akka.Configuration; using Akka.Dispatch; diff --git a/src/benchmark/Akka.Benchmarks/IO/TcpOperationsBenchmarks.cs b/src/benchmark/Akka.Benchmarks/IO/TcpOperationsBenchmarks.cs index 143f94715a4..d9529e457ab 100644 --- a/src/benchmark/Akka.Benchmarks/IO/TcpOperationsBenchmarks.cs +++ b/src/benchmark/Akka.Benchmarks/IO/TcpOperationsBenchmarks.cs @@ -6,17 +6,12 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Concurrent; using System.Collections.Generic; -using System.Linq; using System.Net; -using System.Text; using System.Threading.Tasks; using Akka.Actor; using Akka.Benchmarks.Configurations; -using Akka.Event; using Akka.IO; -using Akka.Util.Internal; using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Engines; diff --git a/src/benchmark/Akka.Benchmarks/Logging/LoggingBenchmarks.cs b/src/benchmark/Akka.Benchmarks/Logging/LoggingBenchmarks.cs index 8343e40af2b..dcb90118a39 100644 --- a/src/benchmark/Akka.Benchmarks/Logging/LoggingBenchmarks.cs +++ b/src/benchmark/Akka.Benchmarks/Logging/LoggingBenchmarks.cs @@ -6,8 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Threading.Tasks; -using Akka.Actor; using Akka.Benchmarks.Configurations; using Akka.Event; using BenchmarkDotNet.Attributes; diff --git a/src/benchmark/Akka.Benchmarks/Remoting/AkkaPduCodecBenchmark.cs b/src/benchmark/Akka.Benchmarks/Remoting/AkkaPduCodecBenchmark.cs index 30d4495b2ca..52255a5275a 100644 --- a/src/benchmark/Akka.Benchmarks/Remoting/AkkaPduCodecBenchmark.cs +++ b/src/benchmark/Akka.Benchmarks/Remoting/AkkaPduCodecBenchmark.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Threading; using System.Threading.Tasks; using Akka.Actor; using Akka.Actor.Dsl; diff --git a/src/benchmark/Akka.Benchmarks/Remoting/FastHashBenchmarks.cs b/src/benchmark/Akka.Benchmarks/Remoting/FastHashBenchmarks.cs index 308c61ffe47..5df6904b2c2 100644 --- a/src/benchmark/Akka.Benchmarks/Remoting/FastHashBenchmarks.cs +++ b/src/benchmark/Akka.Benchmarks/Remoting/FastHashBenchmarks.cs @@ -5,9 +5,6 @@ // //----------------------------------------------------------------------- -using System; -using System.Collections.Generic; -using System.Text; using Akka.Benchmarks.Configurations; using Akka.Remote.Serialization; using BenchmarkDotNet.Attributes; diff --git a/src/benchmark/Akka.Benchmarks/Remoting/LruBoundedCacheBenchmarks.cs b/src/benchmark/Akka.Benchmarks/Remoting/LruBoundedCacheBenchmarks.cs index 20ef952024a..c7c2f3df008 100644 --- a/src/benchmark/Akka.Benchmarks/Remoting/LruBoundedCacheBenchmarks.cs +++ b/src/benchmark/Akka.Benchmarks/Remoting/LruBoundedCacheBenchmarks.cs @@ -12,7 +12,6 @@ using Akka.Benchmarks.Configurations; using Akka.Configuration; using Akka.Remote.Serialization; -using Akka.Util; using BenchmarkDotNet.Attributes; namespace Akka.Benchmarks.Remoting diff --git a/src/benchmark/Akka.Cluster.Benchmarks/Persistence/PersistenceInfrastructure.cs b/src/benchmark/Akka.Cluster.Benchmarks/Persistence/PersistenceInfrastructure.cs index bd68f3a2f2d..dc0e2fcd5b0 100644 --- a/src/benchmark/Akka.Cluster.Benchmarks/Persistence/PersistenceInfrastructure.cs +++ b/src/benchmark/Akka.Cluster.Benchmarks/Persistence/PersistenceInfrastructure.cs @@ -5,10 +5,7 @@ // //----------------------------------------------------------------------- -using System; -using System.Threading.Tasks; using Akka.Actor; -using Akka.Util; using Akka.Configuration; using Akka.Util.Internal; using Akka.Persistence; diff --git a/src/benchmark/Akka.Cluster.Benchmarks/Persistence/RecoveryBenchmark.cs b/src/benchmark/Akka.Cluster.Benchmarks/Persistence/RecoveryBenchmark.cs index 3f1237dc6ef..4e160d1a909 100644 --- a/src/benchmark/Akka.Cluster.Benchmarks/Persistence/RecoveryBenchmark.cs +++ b/src/benchmark/Akka.Cluster.Benchmarks/Persistence/RecoveryBenchmark.cs @@ -8,7 +8,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Text; using System.Threading; using System.Threading.Tasks; using Akka.Actor; diff --git a/src/benchmark/Akka.Cluster.Benchmarks/Program.cs b/src/benchmark/Akka.Cluster.Benchmarks/Program.cs index 103f2c01ff0..7bde49f41c9 100644 --- a/src/benchmark/Akka.Cluster.Benchmarks/Program.cs +++ b/src/benchmark/Akka.Cluster.Benchmarks/Program.cs @@ -5,9 +5,6 @@ // //----------------------------------------------------------------------- -using System; -using System.Reflection; -using Akka.Cluster.Benchmarks.Persistence; using BenchmarkDotNet.Configs; using BenchmarkDotNet.Running; diff --git a/src/benchmark/Akka.Cluster.Cpu.Benchmark/BenchmarkNode.cs b/src/benchmark/Akka.Cluster.Cpu.Benchmark/BenchmarkNode.cs index fcc01b3aa6e..df19ffbf594 100644 --- a/src/benchmark/Akka.Cluster.Cpu.Benchmark/BenchmarkNode.cs +++ b/src/benchmark/Akka.Cluster.Cpu.Benchmark/BenchmarkNode.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Linq; using System.Threading.Tasks; using Akka.Actor; using Akka.Configuration; diff --git a/src/benchmark/RemotePingPong/Program.cs b/src/benchmark/RemotePingPong/Program.cs index 72959bb2f1a..76cc84bfd54 100644 --- a/src/benchmark/RemotePingPong/Program.cs +++ b/src/benchmark/RemotePingPong/Program.cs @@ -15,7 +15,6 @@ using System.Threading.Tasks; using Akka.Actor; using Akka.Configuration; -using Akka.Util.Internal; namespace RemotePingPong { diff --git a/src/benchmark/RemotePingPong/Properties/AssemblyInfo.cs b/src/benchmark/RemotePingPong/Properties/AssemblyInfo.cs index 8584c5c818a..15002a16059 100644 --- a/src/benchmark/RemotePingPong/Properties/AssemblyInfo.cs +++ b/src/benchmark/RemotePingPong/Properties/AssemblyInfo.cs @@ -5,8 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Setting ComVisible to false makes the types in this assembly not visible diff --git a/src/benchmark/SerializationBenchmarks/Program.cs b/src/benchmark/SerializationBenchmarks/Program.cs index 945f9478612..58650c494b8 100644 --- a/src/benchmark/SerializationBenchmarks/Program.cs +++ b/src/benchmark/SerializationBenchmarks/Program.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.Threading.Tasks; @@ -15,7 +14,6 @@ using Akka.Serialization; using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Running; -using Newtonsoft.Json; namespace SerializationBenchmarks { diff --git a/src/contrib/cluster/Akka.Cluster.Metrics.Tests.MultiNode/ClusterMetricsExtensionSpec.cs b/src/contrib/cluster/Akka.Cluster.Metrics.Tests.MultiNode/ClusterMetricsExtensionSpec.cs index a3530f1cbc1..9e206218964 100644 --- a/src/contrib/cluster/Akka.Cluster.Metrics.Tests.MultiNode/ClusterMetricsExtensionSpec.cs +++ b/src/contrib/cluster/Akka.Cluster.Metrics.Tests.MultiNode/ClusterMetricsExtensionSpec.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Immutable; using System.Linq; using System.Threading.Tasks; using Akka.Cluster.Metrics.Tests.Helpers; diff --git a/src/contrib/cluster/Akka.Cluster.Metrics.Tests.MultiNode/Sample/StatsSampleSpec.cs b/src/contrib/cluster/Akka.Cluster.Metrics.Tests.MultiNode/Sample/StatsSampleSpec.cs index 53298c404be..0e6fae1e22b 100644 --- a/src/contrib/cluster/Akka.Cluster.Metrics.Tests.MultiNode/Sample/StatsSampleSpec.cs +++ b/src/contrib/cluster/Akka.Cluster.Metrics.Tests.MultiNode/Sample/StatsSampleSpec.cs @@ -5,12 +5,10 @@ // //----------------------------------------------------------------------- -using System; using System.Collections.Immutable; using System.Linq; using System.Threading.Tasks; using Akka.Actor; -using Akka.Configuration; using Akka.Remote.TestKit; using FluentAssertions; using Akka.MultiNode.TestAdapter; diff --git a/src/contrib/cluster/Akka.Cluster.Metrics.Tests.MultiNode/Sample/StatsService.cs b/src/contrib/cluster/Akka.Cluster.Metrics.Tests.MultiNode/Sample/StatsService.cs index 710b0af5445..f961c0441ba 100644 --- a/src/contrib/cluster/Akka.Cluster.Metrics.Tests.MultiNode/Sample/StatsService.cs +++ b/src/contrib/cluster/Akka.Cluster.Metrics.Tests.MultiNode/Sample/StatsService.cs @@ -9,8 +9,6 @@ using System.Linq; using Akka.Actor; using Akka.Routing; -using Akka.Util.Internal; -using FluentAssertions; using FluentAssertions.Extensions; namespace Akka.Cluster.Metrics.Tests.MultiNode diff --git a/src/contrib/cluster/Akka.Cluster.Metrics.Tests/ClusterMetricsAutostartSpec.cs b/src/contrib/cluster/Akka.Cluster.Metrics.Tests/ClusterMetricsAutostartSpec.cs index e7e5e83d27f..28538e7e3d5 100644 --- a/src/contrib/cluster/Akka.Cluster.Metrics.Tests/ClusterMetricsAutostartSpec.cs +++ b/src/contrib/cluster/Akka.Cluster.Metrics.Tests/ClusterMetricsAutostartSpec.cs @@ -5,15 +5,9 @@ // //----------------------------------------------------------------------- -using System; -using System.Threading.Tasks; -using Akka.Actor; using Akka.Cluster.Metrics.Events; -using Akka.Cluster.Metrics.Tests.Helpers; using Akka.Configuration; using Akka.TestKit; -using FluentAssertions; -using FluentAssertions.Extensions; using Xunit; using Xunit.Abstractions; diff --git a/src/contrib/cluster/Akka.Cluster.Metrics.Tests/ClusterMetricsMessageSerializerSpec.cs b/src/contrib/cluster/Akka.Cluster.Metrics.Tests/ClusterMetricsMessageSerializerSpec.cs index 53ff4dd0c16..947d091762e 100644 --- a/src/contrib/cluster/Akka.Cluster.Metrics.Tests/ClusterMetricsMessageSerializerSpec.cs +++ b/src/contrib/cluster/Akka.Cluster.Metrics.Tests/ClusterMetricsMessageSerializerSpec.cs @@ -5,10 +5,8 @@ // //----------------------------------------------------------------------- -using System; using System.Collections.Immutable; using Akka.Actor; -using Akka.Cluster.Metrics.Helpers; using Akka.Cluster.Metrics.Serialization; using Akka.Cluster.Tests; using Akka.TestKit; diff --git a/src/contrib/cluster/Akka.Cluster.Metrics.Tests/ClusterMetricsSettingsSpec.cs b/src/contrib/cluster/Akka.Cluster.Metrics.Tests/ClusterMetricsSettingsSpec.cs index 2daef621be0..8b812eed201 100644 --- a/src/contrib/cluster/Akka.Cluster.Metrics.Tests/ClusterMetricsSettingsSpec.cs +++ b/src/contrib/cluster/Akka.Cluster.Metrics.Tests/ClusterMetricsSettingsSpec.cs @@ -5,16 +5,12 @@ // //----------------------------------------------------------------------- -using System; using Akka.Cluster.Metrics.Configuration; -using Akka.Configuration; -using Akka.Configuration.Hocon; using Akka.Dispatch; using Akka.TestKit; using Akka.Util; using Xunit; using FluentAssertions; -using FsCheck; using FluentAssertions.Extensions; using ConfigurationFactory = Akka.Configuration.ConfigurationFactory; diff --git a/src/contrib/cluster/Akka.Cluster.Metrics.Tests/Helpers/ClusterMetricsView.cs b/src/contrib/cluster/Akka.Cluster.Metrics.Tests/Helpers/ClusterMetricsView.cs index aacd817060c..d861473738b 100644 --- a/src/contrib/cluster/Akka.Cluster.Metrics.Tests/Helpers/ClusterMetricsView.cs +++ b/src/contrib/cluster/Akka.Cluster.Metrics.Tests/Helpers/ClusterMetricsView.cs @@ -7,7 +7,6 @@ using System; using System.Collections.Immutable; -using System.Linq; using Akka.Actor; using Akka.Cluster.Metrics.Events; using Akka.Cluster.Metrics.Serialization; diff --git a/src/contrib/cluster/Akka.Cluster.Metrics.Tests/Helpers/MetricsCollectorMock.cs b/src/contrib/cluster/Akka.Cluster.Metrics.Tests/Helpers/MetricsCollectorMock.cs index a5dfe5f511f..e620eef0fda 100644 --- a/src/contrib/cluster/Akka.Cluster.Metrics.Tests/Helpers/MetricsCollectorMock.cs +++ b/src/contrib/cluster/Akka.Cluster.Metrics.Tests/Helpers/MetricsCollectorMock.cs @@ -8,7 +8,6 @@ using System; using Akka.Actor; using Akka.Cluster.Metrics.Serialization; -using Google.Protobuf.WellKnownTypes; using Address = Akka.Actor.Address; namespace Akka.Cluster.Metrics.Tests.Helpers diff --git a/src/contrib/cluster/Akka.Cluster.Metrics.Tests/MetricSpec.cs b/src/contrib/cluster/Akka.Cluster.Metrics.Tests/MetricSpec.cs index 8c3664bb31e..2fc3050e8e4 100644 --- a/src/contrib/cluster/Akka.Cluster.Metrics.Tests/MetricSpec.cs +++ b/src/contrib/cluster/Akka.Cluster.Metrics.Tests/MetricSpec.cs @@ -13,9 +13,7 @@ using Akka.Cluster.Metrics.Serialization; using Akka.Cluster.Metrics.Tests.Base; using Akka.Cluster.Metrics.Tests.Helpers; -using Akka.TestKit; using Akka.Util; -using Akka.Util.Extensions; using Akka.Util.Internal; using FluentAssertions; using Xunit; diff --git a/src/contrib/cluster/Akka.Cluster.Metrics.Tests/MetricsCollectorSpec.cs b/src/contrib/cluster/Akka.Cluster.Metrics.Tests/MetricsCollectorSpec.cs index 429c2c23935..7d6cd68076b 100644 --- a/src/contrib/cluster/Akka.Cluster.Metrics.Tests/MetricsCollectorSpec.cs +++ b/src/contrib/cluster/Akka.Cluster.Metrics.Tests/MetricsCollectorSpec.cs @@ -7,16 +7,11 @@ using System; using System.Linq; -using System.Threading; using System.Threading.Tasks; using Akka.Cluster.Metrics.Tests.Base; using Akka.Cluster.Metrics.Tests.Helpers; -using Akka.TestKit; using Akka.TestKit.Xunit2.Attributes; -using Akka.Util.Extensions; -using Akka.Util.Internal; using FluentAssertions; -using Google.Protobuf.WellKnownTypes; using Xunit; using Xunit.Abstractions; diff --git a/src/contrib/cluster/Akka.Cluster.Metrics.Tests/WeightedRouteesSpec.cs b/src/contrib/cluster/Akka.Cluster.Metrics.Tests/WeightedRouteesSpec.cs index 7191d1208ee..9b35a71d3c8 100644 --- a/src/contrib/cluster/Akka.Cluster.Metrics.Tests/WeightedRouteesSpec.cs +++ b/src/contrib/cluster/Akka.Cluster.Metrics.Tests/WeightedRouteesSpec.cs @@ -8,9 +8,7 @@ using System; using System.Collections.Generic; using System.Collections.Immutable; -using System.Linq; using Akka.Actor; -using Akka.Configuration; using Akka.Pattern; using Akka.Routing; using Akka.TestKit; diff --git a/src/contrib/cluster/Akka.Cluster.Metrics/ClusterMetrics.cs b/src/contrib/cluster/Akka.Cluster.Metrics/ClusterMetrics.cs index 466d845d946..9c137f646d3 100644 --- a/src/contrib/cluster/Akka.Cluster.Metrics/ClusterMetrics.cs +++ b/src/contrib/cluster/Akka.Cluster.Metrics/ClusterMetrics.cs @@ -5,12 +5,10 @@ // //----------------------------------------------------------------------- -using System; using Akka.Actor; using Akka.Annotations; using Akka.Cluster.Metrics.Configuration; using Akka.Cluster.Metrics.Events; -using Akka.Cluster.Metrics.Helpers; using Akka.Cluster.Metrics.Serialization; using Akka.Configuration; using Akka.Event; diff --git a/src/contrib/cluster/Akka.Cluster.Metrics/ClusterMetricsCollector.cs b/src/contrib/cluster/Akka.Cluster.Metrics/ClusterMetricsCollector.cs index 641e1cfa02b..8bad508fd7c 100644 --- a/src/contrib/cluster/Akka.Cluster.Metrics/ClusterMetricsCollector.cs +++ b/src/contrib/cluster/Akka.Cluster.Metrics/ClusterMetricsCollector.cs @@ -5,10 +5,7 @@ // //----------------------------------------------------------------------- -using System; -using System.Collections.Generic; using System.Collections.Immutable; -using System.IO; using System.Linq; using Akka.Actor; using Akka.Annotations; diff --git a/src/contrib/cluster/Akka.Cluster.Metrics/Collectors/DefaultCollector.cs b/src/contrib/cluster/Akka.Cluster.Metrics/Collectors/DefaultCollector.cs index 72fe204173b..c7740026bda 100644 --- a/src/contrib/cluster/Akka.Cluster.Metrics/Collectors/DefaultCollector.cs +++ b/src/contrib/cluster/Akka.Cluster.Metrics/Collectors/DefaultCollector.cs @@ -11,11 +11,9 @@ using System.Diagnostics; using System.Linq; using System.Threading; -using System.Threading.Tasks; using Akka.Actor; using Akka.Cluster.Metrics.Serialization; using Akka.Util; -using Akka.Util.Extensions; using Akka.Util.Internal; using Address = Akka.Actor.Address; diff --git a/src/contrib/cluster/Akka.Cluster.Metrics/Helpers/AnyNumber.cs b/src/contrib/cluster/Akka.Cluster.Metrics/Helpers/AnyNumber.cs index 0ef8053d00a..503cff70f54 100644 --- a/src/contrib/cluster/Akka.Cluster.Metrics/Helpers/AnyNumber.cs +++ b/src/contrib/cluster/Akka.Cluster.Metrics/Helpers/AnyNumber.cs @@ -5,9 +5,7 @@ // //----------------------------------------------------------------------- -using System; using Akka.Annotations; -using Akka.Util; namespace Akka.Cluster.Metrics.Helpers { diff --git a/src/contrib/cluster/Akka.Cluster.Metrics/IMetricsCollector.cs b/src/contrib/cluster/Akka.Cluster.Metrics/IMetricsCollector.cs index b861360dd75..cd05818d7c3 100644 --- a/src/contrib/cluster/Akka.Cluster.Metrics/IMetricsCollector.cs +++ b/src/contrib/cluster/Akka.Cluster.Metrics/IMetricsCollector.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using Akka.Actor; using Akka.Cluster.Metrics.Serialization; namespace Akka.Cluster.Metrics diff --git a/src/contrib/cluster/Akka.Cluster.Metrics/MetricsCollectorBuilder.cs b/src/contrib/cluster/Akka.Cluster.Metrics/MetricsCollectorBuilder.cs index 3690629271f..3520a42e502 100644 --- a/src/contrib/cluster/Akka.Cluster.Metrics/MetricsCollectorBuilder.cs +++ b/src/contrib/cluster/Akka.Cluster.Metrics/MetricsCollectorBuilder.cs @@ -5,11 +5,9 @@ // //----------------------------------------------------------------------- -using System; using Akka.Actor; using Akka.Cluster.Metrics.Collectors; using Akka.Cluster.Metrics.Configuration; -using Akka.Cluster.Metrics.Helpers; using Akka.Event; using Akka.Util; using Akka.Configuration; diff --git a/src/contrib/cluster/Akka.Cluster.Metrics/Routing/MetricSelectors.cs b/src/contrib/cluster/Akka.Cluster.Metrics/Routing/MetricSelectors.cs index 80525eba199..46c6737bedc 100644 --- a/src/contrib/cluster/Akka.Cluster.Metrics/Routing/MetricSelectors.cs +++ b/src/contrib/cluster/Akka.Cluster.Metrics/Routing/MetricSelectors.cs @@ -8,7 +8,6 @@ using System; using System.Collections.Immutable; using System.Linq; -using Akka.Cluster.Metrics.Helpers; using Akka.Cluster.Metrics.Serialization; using Akka.Configuration; using Akka.Util; diff --git a/src/contrib/cluster/Akka.Cluster.Metrics/Serialization/ClusterMetricsMessageSerializer.cs b/src/contrib/cluster/Akka.Cluster.Metrics/Serialization/ClusterMetricsMessageSerializer.cs index 4d7f0a0ffd0..2381bfb1ed9 100644 --- a/src/contrib/cluster/Akka.Cluster.Metrics/Serialization/ClusterMetricsMessageSerializer.cs +++ b/src/contrib/cluster/Akka.Cluster.Metrics/Serialization/ClusterMetricsMessageSerializer.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using Akka.Actor; @@ -15,7 +14,6 @@ using Akka.Serialization; using Akka.Util; using Google.Protobuf; -using Google.Protobuf.WellKnownTypes; namespace Akka.Cluster.Metrics.Serialization { diff --git a/src/contrib/cluster/Akka.Cluster.Metrics/Serialization/Metric.cs b/src/contrib/cluster/Akka.Cluster.Metrics/Serialization/Metric.cs index 5cacccabe2c..fca83acd6df 100644 --- a/src/contrib/cluster/Akka.Cluster.Metrics/Serialization/Metric.cs +++ b/src/contrib/cluster/Akka.Cluster.Metrics/Serialization/Metric.cs @@ -6,10 +6,8 @@ //----------------------------------------------------------------------- using System; -using System.ComponentModel; using Akka.Annotations; using Akka.Cluster.Metrics.Helpers; -using Akka.Dispatch.SysMsg; using Akka.Util; namespace Akka.Cluster.Metrics.Serialization diff --git a/src/contrib/cluster/Akka.Cluster.Metrics/Serialization/MetricsGossip.cs b/src/contrib/cluster/Akka.Cluster.Metrics/Serialization/MetricsGossip.cs index 05d77f94290..6a6e87c279f 100644 --- a/src/contrib/cluster/Akka.Cluster.Metrics/Serialization/MetricsGossip.cs +++ b/src/contrib/cluster/Akka.Cluster.Metrics/Serialization/MetricsGossip.cs @@ -5,13 +5,10 @@ // //----------------------------------------------------------------------- -using System; using System.Collections.Immutable; using System.Linq; using Akka.Annotations; using Akka.Util; -using Akka.Util.Internal; -using Newtonsoft.Json; namespace Akka.Cluster.Metrics.Serialization { diff --git a/src/contrib/cluster/Akka.Cluster.Metrics/Serialization/NodeMetrics.cs b/src/contrib/cluster/Akka.Cluster.Metrics/Serialization/NodeMetrics.cs index 30e8edd412e..cd5e87ad742 100644 --- a/src/contrib/cluster/Akka.Cluster.Metrics/Serialization/NodeMetrics.cs +++ b/src/contrib/cluster/Akka.Cluster.Metrics/Serialization/NodeMetrics.cs @@ -7,7 +7,6 @@ using System; using System.Collections.Generic; -using System.Collections.Immutable; using System.Linq; using Akka.Util; using Google.Protobuf.Collections; diff --git a/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/AsyncWriteProxyEx.cs b/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/AsyncWriteProxyEx.cs index ad116da7d1d..663b63deea2 100644 --- a/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/AsyncWriteProxyEx.cs +++ b/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/AsyncWriteProxyEx.cs @@ -13,7 +13,6 @@ using System.Threading; using System.Threading.Tasks; using Akka.Actor; -using Akka.Actor.Internal; using Akka.Persistence; using Akka.Persistence.Journal; diff --git a/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/ClusterShardingCustomShardAllocationSpec.cs b/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/ClusterShardingCustomShardAllocationSpec.cs index 710489ea16f..9ed2aff5c87 100644 --- a/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/ClusterShardingCustomShardAllocationSpec.cs +++ b/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/ClusterShardingCustomShardAllocationSpec.cs @@ -11,7 +11,6 @@ using Akka.Actor; using Akka.MultiNode.TestAdapter; using Akka.Remote.TestKit; -using Akka.TestKit; using Akka.TestKit.TestActors; using FluentAssertions; diff --git a/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/ClusterShardingFailureSpec.cs b/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/ClusterShardingFailureSpec.cs index 0f6c46d5429..69246fdd86d 100644 --- a/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/ClusterShardingFailureSpec.cs +++ b/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/ClusterShardingFailureSpec.cs @@ -12,7 +12,6 @@ using Akka.Remote.TestKit; using Akka.Remote.Transport; using Akka.Util; -using FluentAssertions; namespace Akka.Cluster.Sharding.Tests { diff --git a/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/ClusterShardingRegistrationCoordinatedShutdownSpec.cs b/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/ClusterShardingRegistrationCoordinatedShutdownSpec.cs index cb6fea38a15..53bf6a331ce 100644 --- a/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/ClusterShardingRegistrationCoordinatedShutdownSpec.cs +++ b/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/ClusterShardingRegistrationCoordinatedShutdownSpec.cs @@ -12,7 +12,6 @@ using Akka.Actor; using Akka.Remote.TestKit; using FluentAssertions; -using Akka.Event; using Akka.MultiNode.TestAdapter; namespace Akka.Cluster.Sharding.Tests diff --git a/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/ClusterShardingRolePartitioningSpec.cs b/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/ClusterShardingRolePartitioningSpec.cs index 5c91a58eb6c..976db4fa543 100644 --- a/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/ClusterShardingRolePartitioningSpec.cs +++ b/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/ClusterShardingRolePartitioningSpec.cs @@ -11,7 +11,6 @@ using Akka.Configuration; using Akka.MultiNode.TestAdapter; using Akka.Remote.TestKit; -using Akka.TestKit; using Akka.TestKit.TestActors; using Akka.Util; using FluentAssertions; diff --git a/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/ClusterShardingSingleShardPerEntitySpec.cs b/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/ClusterShardingSingleShardPerEntitySpec.cs index e147e53b27a..596774ecd89 100644 --- a/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/ClusterShardingSingleShardPerEntitySpec.cs +++ b/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/ClusterShardingSingleShardPerEntitySpec.cs @@ -11,7 +11,6 @@ using Akka.MultiNode.TestAdapter; using Akka.Remote.TestKit; using Akka.Remote.Transport; -using Akka.TestKit; using FluentAssertions; namespace Akka.Cluster.Sharding.Tests diff --git a/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/ExternalShardAllocationSpec.cs b/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/ExternalShardAllocationSpec.cs index 65cf1a1747f..934f08eb61a 100644 --- a/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/ExternalShardAllocationSpec.cs +++ b/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/ExternalShardAllocationSpec.cs @@ -7,13 +7,11 @@ using System; using System.Collections.Immutable; -using System.Linq; using Akka.Actor; using Akka.Cluster.Sharding.External; using Akka.Event; using Akka.MultiNode.TestAdapter; using Akka.Remote.TestKit; -using Akka.TestKit.TestActors; using Akka.Util; using FluentAssertions; diff --git a/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/MultiNodeClusterShardingConfig.cs b/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/MultiNodeClusterShardingConfig.cs index 0f76ac6ec83..d5d0083941a 100644 --- a/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/MultiNodeClusterShardingConfig.cs +++ b/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/MultiNodeClusterShardingConfig.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using Akka.Cluster.TestKit; using Akka.Configuration; using Akka.Remote.TestKit; diff --git a/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/MultiNodeClusterShardingSpec.cs b/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/MultiNodeClusterShardingSpec.cs index 7a030ad038f..2484772629d 100644 --- a/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/MultiNodeClusterShardingSpec.cs +++ b/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/MultiNodeClusterShardingSpec.cs @@ -6,8 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Collections; -using System.Collections.Generic; using System.IO; using Akka.Actor; using Akka.Cluster.TestKit; diff --git a/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/Properties/AssemblyInfo.cs b/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/Properties/AssemblyInfo.cs index 5740797a873..22ffad744cb 100644 --- a/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/Properties/AssemblyInfo.cs +++ b/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/Properties/AssemblyInfo.cs @@ -5,8 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Xunit; diff --git a/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/SnapshotStoreProxy.cs b/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/SnapshotStoreProxy.cs index 7f9ec9c430a..39e7190ed53 100644 --- a/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/SnapshotStoreProxy.cs +++ b/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/SnapshotStoreProxy.cs @@ -9,7 +9,6 @@ using System.Runtime.ExceptionServices; using System.Threading.Tasks; using Akka.Actor; -using Akka.Event; using Akka.Persistence; using Akka.Persistence.Snapshot; diff --git a/src/contrib/cluster/Akka.Cluster.Sharding.Tests/ClusterShardingMessageSerializerSpec.cs b/src/contrib/cluster/Akka.Cluster.Sharding.Tests/ClusterShardingMessageSerializerSpec.cs index c6f2cd163c7..997a9ae8c29 100644 --- a/src/contrib/cluster/Akka.Cluster.Sharding.Tests/ClusterShardingMessageSerializerSpec.cs +++ b/src/contrib/cluster/Akka.Cluster.Sharding.Tests/ClusterShardingMessageSerializerSpec.cs @@ -8,7 +8,6 @@ using System; using System.Collections.Immutable; using Akka.Actor; -using Akka.Actor.Dsl; using Akka.Cluster.Configuration; using Akka.Cluster.Sharding.Internal; using Akka.Cluster.Sharding.Serialization; diff --git a/src/contrib/cluster/Akka.Cluster.Sharding.Tests/External/ExternalShardAllocationStrategySpec.cs b/src/contrib/cluster/Akka.Cluster.Sharding.Tests/External/ExternalShardAllocationStrategySpec.cs index d65788c84bb..fa9de1fd20c 100644 --- a/src/contrib/cluster/Akka.Cluster.Sharding.Tests/External/ExternalShardAllocationStrategySpec.cs +++ b/src/contrib/cluster/Akka.Cluster.Sharding.Tests/External/ExternalShardAllocationStrategySpec.cs @@ -7,14 +7,10 @@ using System; using System.Collections.Immutable; -using System.Linq; -using System.Threading; using Akka.Actor; using Akka.Cluster.Sharding.External; -using Akka.Cluster.Sharding.Internal; using Akka.Cluster.Tools.Singleton; using Akka.Configuration; -using Akka.DistributedData; using Akka.TestKit; using FluentAssertions; using Xunit; diff --git a/src/contrib/cluster/Akka.Cluster.Sharding.Tests/Properties/AssemblyInfo.cs b/src/contrib/cluster/Akka.Cluster.Sharding.Tests/Properties/AssemblyInfo.cs index e035a12964d..eed8968ac90 100644 --- a/src/contrib/cluster/Akka.Cluster.Sharding.Tests/Properties/AssemblyInfo.cs +++ b/src/contrib/cluster/Akka.Cluster.Sharding.Tests/Properties/AssemblyInfo.cs @@ -5,8 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/src/contrib/cluster/Akka.Cluster.Sharding.Tests/ProxyShardingSpec.cs b/src/contrib/cluster/Akka.Cluster.Sharding.Tests/ProxyShardingSpec.cs index 26bf1e5a05f..2ce3f83f165 100644 --- a/src/contrib/cluster/Akka.Cluster.Sharding.Tests/ProxyShardingSpec.cs +++ b/src/contrib/cluster/Akka.Cluster.Sharding.Tests/ProxyShardingSpec.cs @@ -9,7 +9,6 @@ using Akka.Actor; using Akka.Cluster.Tools.Singleton; using Akka.Configuration; -using Akka.TestKit; using Akka.TestKit.TestActors; using Akka.Util; using FluentAssertions; diff --git a/src/contrib/cluster/Akka.Cluster.Sharding.Tests/ShardRegionQueriesHashCodeSpecs.cs b/src/contrib/cluster/Akka.Cluster.Sharding.Tests/ShardRegionQueriesHashCodeSpecs.cs index a0fd1b197fd..33433a69c8a 100644 --- a/src/contrib/cluster/Akka.Cluster.Sharding.Tests/ShardRegionQueriesHashCodeSpecs.cs +++ b/src/contrib/cluster/Akka.Cluster.Sharding.Tests/ShardRegionQueriesHashCodeSpecs.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Linq; using System.Threading.Tasks; using Akka.Actor; using Akka.Cluster.Tools.Singleton; diff --git a/src/contrib/cluster/Akka.Cluster.Sharding.Tests/ShardRegionSpec.cs b/src/contrib/cluster/Akka.Cluster.Sharding.Tests/ShardRegionSpec.cs index b26a7cc676a..b53e553a6a5 100644 --- a/src/contrib/cluster/Akka.Cluster.Sharding.Tests/ShardRegionSpec.cs +++ b/src/contrib/cluster/Akka.Cluster.Sharding.Tests/ShardRegionSpec.cs @@ -8,7 +8,6 @@ using System; using System.Collections.Immutable; using System.Linq; -using System.Threading.Tasks; using Akka.Actor; using Akka.Cluster.Tools.Singleton; using Akka.Configuration; diff --git a/src/contrib/cluster/Akka.Cluster.Sharding.Tests/StorageHelpers.cs b/src/contrib/cluster/Akka.Cluster.Sharding.Tests/StorageHelpers.cs index 5272dc9457f..66ae7db551f 100644 --- a/src/contrib/cluster/Akka.Cluster.Sharding.Tests/StorageHelpers.cs +++ b/src/contrib/cluster/Akka.Cluster.Sharding.Tests/StorageHelpers.cs @@ -6,9 +6,7 @@ //----------------------------------------------------------------------- using System; -using System.IO; using Akka.Actor; -using Akka.Configuration; using Akka.Event; using Akka.TestKit; using FluentAssertions; diff --git a/src/contrib/cluster/Akka.Cluster.Sharding/Properties/AssemblyInfo.cs b/src/contrib/cluster/Akka.Cluster.Sharding/Properties/AssemblyInfo.cs index 4299cb8565b..46f67f46a8e 100644 --- a/src/contrib/cluster/Akka.Cluster.Sharding/Properties/AssemblyInfo.cs +++ b/src/contrib/cluster/Akka.Cluster.Sharding/Properties/AssemblyInfo.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/src/contrib/cluster/Akka.Cluster.Sharding/ShardingMessages.cs b/src/contrib/cluster/Akka.Cluster.Sharding/ShardingMessages.cs index 5ec8c2cc5c9..ca8629ae2b8 100644 --- a/src/contrib/cluster/Akka.Cluster.Sharding/ShardingMessages.cs +++ b/src/contrib/cluster/Akka.Cluster.Sharding/ShardingMessages.cs @@ -9,7 +9,6 @@ using System.Collections.Immutable; using System.Linq; using Akka.Actor; -using Akka.Event; using Akka.Util; namespace Akka.Cluster.Sharding diff --git a/src/contrib/cluster/Akka.Cluster.Sharding/ShardingQueries.cs b/src/contrib/cluster/Akka.Cluster.Sharding/ShardingQueries.cs index 8afda35243c..0a05902b6d9 100644 --- a/src/contrib/cluster/Akka.Cluster.Sharding/ShardingQueries.cs +++ b/src/contrib/cluster/Akka.Cluster.Sharding/ShardingQueries.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Threading.Tasks; diff --git a/src/contrib/cluster/Akka.Cluster.Tools.Tests.MultiNode/ClusterClient/ClusterClientHandoverSpec.cs b/src/contrib/cluster/Akka.Cluster.Tools.Tests.MultiNode/ClusterClient/ClusterClientHandoverSpec.cs index 88e497f1066..e09b142c9d0 100644 --- a/src/contrib/cluster/Akka.Cluster.Tools.Tests.MultiNode/ClusterClient/ClusterClientHandoverSpec.cs +++ b/src/contrib/cluster/Akka.Cluster.Tools.Tests.MultiNode/ClusterClient/ClusterClientHandoverSpec.cs @@ -6,11 +6,8 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; -using System.Text; -using System.Threading.Tasks; using Akka.Actor; using Akka.Cluster.TestKit; using Akka.Cluster.Tools.Client; diff --git a/src/contrib/cluster/Akka.Cluster.Tools.Tests.MultiNode/ClusterClient/ClusterClientSpec.cs b/src/contrib/cluster/Akka.Cluster.Tools.Tests.MultiNode/ClusterClient/ClusterClientSpec.cs index 0599542346b..7a39f300495 100644 --- a/src/contrib/cluster/Akka.Cluster.Tools.Tests.MultiNode/ClusterClient/ClusterClientSpec.cs +++ b/src/contrib/cluster/Akka.Cluster.Tools.Tests.MultiNode/ClusterClient/ClusterClientSpec.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Threading; diff --git a/src/contrib/cluster/Akka.Cluster.Tools.Tests.MultiNode/ClusterClient/ClusterClientStartSpecConfig.cs b/src/contrib/cluster/Akka.Cluster.Tools.Tests.MultiNode/ClusterClient/ClusterClientStartSpecConfig.cs index 8407de0d902..5d6488f8c0d 100644 --- a/src/contrib/cluster/Akka.Cluster.Tools.Tests.MultiNode/ClusterClient/ClusterClientStartSpecConfig.cs +++ b/src/contrib/cluster/Akka.Cluster.Tools.Tests.MultiNode/ClusterClient/ClusterClientStartSpecConfig.cs @@ -14,7 +14,6 @@ using Akka.Configuration; using Akka.MultiNode.TestAdapter; using Akka.Remote.TestKit; -using FluentAssertions; using FluentAssertions.Extensions; namespace Akka.Cluster.Tools.Tests.MultiNode.Client diff --git a/src/contrib/cluster/Akka.Cluster.Tools.Tests.MultiNode/Properties/AssemblyInfo.cs b/src/contrib/cluster/Akka.Cluster.Tools.Tests.MultiNode/Properties/AssemblyInfo.cs index 2425fb5536a..90c056c2791 100644 --- a/src/contrib/cluster/Akka.Cluster.Tools.Tests.MultiNode/Properties/AssemblyInfo.cs +++ b/src/contrib/cluster/Akka.Cluster.Tools.Tests.MultiNode/Properties/AssemblyInfo.cs @@ -5,8 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Xunit; diff --git a/src/contrib/cluster/Akka.Cluster.Tools.Tests.MultiNode/PublishSubscribe/DistributedPubSubMediatorSpec.cs b/src/contrib/cluster/Akka.Cluster.Tools.Tests.MultiNode/PublishSubscribe/DistributedPubSubMediatorSpec.cs index 95d060501d8..8b2f93c984f 100644 --- a/src/contrib/cluster/Akka.Cluster.Tools.Tests.MultiNode/PublishSubscribe/DistributedPubSubMediatorSpec.cs +++ b/src/contrib/cluster/Akka.Cluster.Tools.Tests.MultiNode/PublishSubscribe/DistributedPubSubMediatorSpec.cs @@ -7,7 +7,6 @@ using System; using System.Collections.Concurrent; -using System.Collections.Generic; using System.Linq; using Akka.Actor; using Akka.Cluster.TestKit; @@ -16,8 +15,6 @@ using Akka.Configuration; using Akka.Event; using Akka.Remote.TestKit; -using Akka.TestKit; -using Xunit; using FluentAssertions; using System.Collections.Immutable; using Akka.MultiNode.TestAdapter; diff --git a/src/contrib/cluster/Akka.Cluster.Tools.Tests.MultiNode/Singleton/ClusterSingletonManagerLeaseSpec.cs b/src/contrib/cluster/Akka.Cluster.Tools.Tests.MultiNode/Singleton/ClusterSingletonManagerLeaseSpec.cs index aeb12b872de..3a1753a139b 100644 --- a/src/contrib/cluster/Akka.Cluster.Tools.Tests.MultiNode/Singleton/ClusterSingletonManagerLeaseSpec.cs +++ b/src/contrib/cluster/Akka.Cluster.Tools.Tests.MultiNode/Singleton/ClusterSingletonManagerLeaseSpec.cs @@ -7,7 +7,6 @@ using System; using System.Linq; -using System.Threading; using Akka.Actor; using Akka.Cluster.TestKit; using Akka.Cluster.Tools.Singleton; @@ -17,7 +16,6 @@ using Akka.MultiNode.TestAdapter; using Akka.Remote.TestKit; using Akka.TestKit; -using Akka.Util.Internal; using FluentAssertions; namespace Akka.Cluster.Tools.Tests.MultiNode.Singleton diff --git a/src/contrib/cluster/Akka.Cluster.Tools.Tests/ClusterClient/ClusterClientConfigSpec.cs b/src/contrib/cluster/Akka.Cluster.Tools.Tests/ClusterClient/ClusterClientConfigSpec.cs index d246e67b402..0742594474a 100644 --- a/src/contrib/cluster/Akka.Cluster.Tools.Tests/ClusterClient/ClusterClientConfigSpec.cs +++ b/src/contrib/cluster/Akka.Cluster.Tools.Tests/ClusterClient/ClusterClientConfigSpec.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Linq; using Akka.Actor; using Akka.Cluster.Tools.Client; using Akka.Configuration; diff --git a/src/contrib/cluster/Akka.Cluster.Tools.Tests/ClusterClient/ClusterClientMessageSerializerSpec.cs b/src/contrib/cluster/Akka.Cluster.Tools.Tests/ClusterClient/ClusterClientMessageSerializerSpec.cs index 8d3ec13188e..15cef7ed5de 100644 --- a/src/contrib/cluster/Akka.Cluster.Tools.Tests/ClusterClient/ClusterClientMessageSerializerSpec.cs +++ b/src/contrib/cluster/Akka.Cluster.Tools.Tests/ClusterClient/ClusterClientMessageSerializerSpec.cs @@ -10,7 +10,6 @@ using Akka.Cluster.Tools.Client; using Akka.Cluster.Tools.Client.Serialization; using Akka.Configuration; -using Akka.Serialization; using Akka.TestKit; using Xunit; diff --git a/src/contrib/cluster/Akka.Cluster.Tools.Tests/ClusterClient/RingOrderingTests.cs b/src/contrib/cluster/Akka.Cluster.Tools.Tests/ClusterClient/RingOrderingTests.cs index 868c9794396..f490a96bfc9 100644 --- a/src/contrib/cluster/Akka.Cluster.Tools.Tests/ClusterClient/RingOrderingTests.cs +++ b/src/contrib/cluster/Akka.Cluster.Tools.Tests/ClusterClient/RingOrderingTests.cs @@ -5,17 +5,12 @@ // //----------------------------------------------------------------------- -using System; -using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; -using System.Text; -using System.Threading.Tasks; using Akka.Actor; using Akka.Cluster.Tools.Client; using FluentAssertions; using Xunit; -using Xunit.Sdk; namespace Akka.Cluster.Tools.Tests.ClusterClient { diff --git a/src/contrib/cluster/Akka.Cluster.Tools.Tests/Properties/AssemblyInfo.cs b/src/contrib/cluster/Akka.Cluster.Tools.Tests/Properties/AssemblyInfo.cs index f82146446ce..2a9e54a6fbe 100644 --- a/src/contrib/cluster/Akka.Cluster.Tools.Tests/Properties/AssemblyInfo.cs +++ b/src/contrib/cluster/Akka.Cluster.Tools.Tests/Properties/AssemblyInfo.cs @@ -5,8 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/src/contrib/cluster/Akka.Cluster.Tools.Tests/PublishSubscribe/DistributedPubSubConfigSpec.cs b/src/contrib/cluster/Akka.Cluster.Tools.Tests/PublishSubscribe/DistributedPubSubConfigSpec.cs index 22ef195746d..b0a12a64990 100644 --- a/src/contrib/cluster/Akka.Cluster.Tools.Tests/PublishSubscribe/DistributedPubSubConfigSpec.cs +++ b/src/contrib/cluster/Akka.Cluster.Tools.Tests/PublishSubscribe/DistributedPubSubConfigSpec.cs @@ -5,8 +5,6 @@ // //----------------------------------------------------------------------- -using System; -using Akka.Actor; using Akka.Cluster.Tools.PublishSubscribe; using Akka.Configuration; using Akka.Routing; diff --git a/src/contrib/cluster/Akka.Cluster.Tools.Tests/PublishSubscribe/DistributedPubSubMediatorSpec.cs b/src/contrib/cluster/Akka.Cluster.Tools.Tests/PublishSubscribe/DistributedPubSubMediatorSpec.cs index 03a3c239dac..eb1c21bb325 100644 --- a/src/contrib/cluster/Akka.Cluster.Tools.Tests/PublishSubscribe/DistributedPubSubMediatorSpec.cs +++ b/src/contrib/cluster/Akka.Cluster.Tools.Tests/PublishSubscribe/DistributedPubSubMediatorSpec.cs @@ -12,8 +12,6 @@ using Akka.Cluster.Tools.PublishSubscribe; using Akka.TestKit; using Xunit; -using Akka.Event; -using System.Threading; using System.Threading.Tasks; namespace Akka.Cluster.Tools.Tests.PublishSubscribe diff --git a/src/contrib/cluster/Akka.Cluster.Tools.Tests/Singleton/ClusterSingletonApiSpec.cs b/src/contrib/cluster/Akka.Cluster.Tools.Tests/Singleton/ClusterSingletonApiSpec.cs index c7068afb0a1..95007826f6c 100644 --- a/src/contrib/cluster/Akka.Cluster.Tools.Tests/Singleton/ClusterSingletonApiSpec.cs +++ b/src/contrib/cluster/Akka.Cluster.Tools.Tests/Singleton/ClusterSingletonApiSpec.cs @@ -6,13 +6,11 @@ //----------------------------------------------------------------------- using System; -using System.Threading.Tasks; using Akka.Actor; using Akka.Cluster.Tools.Singleton; using Akka.Configuration; using Akka.TestKit; using Akka.TestKit.Configs; -using Akka.TestKit.Extensions; using Xunit; using Xunit.Abstractions; diff --git a/src/contrib/cluster/Akka.Cluster.Tools.Tests/Singleton/ClusterSingletonConfigSpec.cs b/src/contrib/cluster/Akka.Cluster.Tools.Tests/Singleton/ClusterSingletonConfigSpec.cs index 22162fabef9..84faf662361 100644 --- a/src/contrib/cluster/Akka.Cluster.Tools.Tests/Singleton/ClusterSingletonConfigSpec.cs +++ b/src/contrib/cluster/Akka.Cluster.Tools.Tests/Singleton/ClusterSingletonConfigSpec.cs @@ -6,8 +6,6 @@ //----------------------------------------------------------------------- - -using System; using Akka.Cluster.Tools.Singleton; using Akka.Configuration; using Akka.TestKit; diff --git a/src/contrib/cluster/Akka.Cluster.Tools.Tests/Singleton/ClusterSingletonLeaseSpec.cs b/src/contrib/cluster/Akka.Cluster.Tools.Tests/Singleton/ClusterSingletonLeaseSpec.cs index a2ef81c5bb5..5e7a4c03d1a 100644 --- a/src/contrib/cluster/Akka.Cluster.Tools.Tests/Singleton/ClusterSingletonLeaseSpec.cs +++ b/src/contrib/cluster/Akka.Cluster.Tools.Tests/Singleton/ClusterSingletonLeaseSpec.cs @@ -6,10 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; -using System.Collections.Immutable; -using System.Diagnostics; -using System.Linq; using System.Runtime.Serialization; using System.Threading.Tasks; using Akka.Actor; @@ -18,11 +14,7 @@ using Akka.Coordination.Tests; using Akka.Event; using Akka.TestKit; -using Akka.TestKit.TestActors; using Akka.Util.Internal; -using DotNetty.Common.Concurrency; -using FluentAssertions; -using Microsoft.Extensions.Logging; using Xunit; namespace Akka.Cluster.Tools.Tests.Singleton diff --git a/src/contrib/cluster/Akka.Cluster.Tools.Tests/Singleton/ClusterSingletonLeavingSpeedSpec.cs b/src/contrib/cluster/Akka.Cluster.Tools.Tests/Singleton/ClusterSingletonLeavingSpeedSpec.cs index c3b9d1494f7..c0a6f90a292 100644 --- a/src/contrib/cluster/Akka.Cluster.Tools.Tests/Singleton/ClusterSingletonLeavingSpeedSpec.cs +++ b/src/contrib/cluster/Akka.Cluster.Tools.Tests/Singleton/ClusterSingletonLeavingSpeedSpec.cs @@ -16,7 +16,6 @@ using Akka.Configuration; using Akka.Event; using Akka.TestKit; -using Akka.TestKit.TestActors; using FluentAssertions; using Xunit; diff --git a/src/contrib/cluster/Akka.Cluster.Tools.Tests/Singleton/ClusterSingletonProxySpec.cs b/src/contrib/cluster/Akka.Cluster.Tools.Tests/Singleton/ClusterSingletonProxySpec.cs index c22f4f188e8..de4e68eb88a 100644 --- a/src/contrib/cluster/Akka.Cluster.Tools.Tests/Singleton/ClusterSingletonProxySpec.cs +++ b/src/contrib/cluster/Akka.Cluster.Tools.Tests/Singleton/ClusterSingletonProxySpec.cs @@ -12,7 +12,6 @@ using Akka.Cluster.Tools.Singleton; using Akka.Configuration; using Akka.Event; -using Akka.TestKit; using Xunit; namespace Akka.Cluster.Tools.Tests.Singleton diff --git a/src/contrib/cluster/Akka.Cluster.Tools.Tests/Singleton/ClusterSingletonRestartSpec.cs b/src/contrib/cluster/Akka.Cluster.Tools.Tests/Singleton/ClusterSingletonRestartSpec.cs index e2f5c5123d6..05dc8f42270 100644 --- a/src/contrib/cluster/Akka.Cluster.Tools.Tests/Singleton/ClusterSingletonRestartSpec.cs +++ b/src/contrib/cluster/Akka.Cluster.Tools.Tests/Singleton/ClusterSingletonRestartSpec.cs @@ -8,7 +8,6 @@ using System; using System.Collections.Immutable; using System.Linq; -using System.Threading.Tasks; using Akka.Actor; using Akka.Cluster.Tools.Singleton; using Akka.Configuration; diff --git a/src/contrib/cluster/Akka.Cluster.Tools/Client/ClusterClientSettings.cs b/src/contrib/cluster/Akka.Cluster.Tools/Client/ClusterClientSettings.cs index 6e74648b760..1bcdf24cda7 100644 --- a/src/contrib/cluster/Akka.Cluster.Tools/Client/ClusterClientSettings.cs +++ b/src/contrib/cluster/Akka.Cluster.Tools/Client/ClusterClientSettings.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using Akka.Actor; diff --git a/src/contrib/cluster/Akka.Cluster.Tools/Properties/AssemblyInfo.cs b/src/contrib/cluster/Akka.Cluster.Tools/Properties/AssemblyInfo.cs index 44410d04f76..b74cbe91e15 100644 --- a/src/contrib/cluster/Akka.Cluster.Tools/Properties/AssemblyInfo.cs +++ b/src/contrib/cluster/Akka.Cluster.Tools/Properties/AssemblyInfo.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/src/contrib/cluster/Akka.Cluster.Tools/PublishSubscribe/DistributedPubSub.cs b/src/contrib/cluster/Akka.Cluster.Tools/PublishSubscribe/DistributedPubSub.cs index 3e4573c6ee4..99520a48282 100644 --- a/src/contrib/cluster/Akka.Cluster.Tools/PublishSubscribe/DistributedPubSub.cs +++ b/src/contrib/cluster/Akka.Cluster.Tools/PublishSubscribe/DistributedPubSub.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System.Linq; using Akka.Actor; using Akka.Configuration; using Akka.Dispatch; diff --git a/src/contrib/cluster/Akka.Cluster.Tools/PublishSubscribe/DistributedPubSubMediator.cs b/src/contrib/cluster/Akka.Cluster.Tools/PublishSubscribe/DistributedPubSubMediator.cs index de00d5e9340..4e88729c83e 100644 --- a/src/contrib/cluster/Akka.Cluster.Tools/PublishSubscribe/DistributedPubSubMediator.cs +++ b/src/contrib/cluster/Akka.Cluster.Tools/PublishSubscribe/DistributedPubSubMediator.cs @@ -15,8 +15,6 @@ using Akka.Pattern; using Akka.Routing; using Akka.Util; -using Akka.Util.Internal; -using Group = Akka.Cluster.Tools.PublishSubscribe.Internal.Group; using Status = Akka.Cluster.Tools.PublishSubscribe.Internal.Status; namespace Akka.Cluster.Tools.PublishSubscribe diff --git a/src/contrib/cluster/Akka.Cluster.Tools/PublishSubscribe/Internal/TopicMessages.cs b/src/contrib/cluster/Akka.Cluster.Tools/PublishSubscribe/Internal/TopicMessages.cs index 115827911d2..6ecbe3508a1 100644 --- a/src/contrib/cluster/Akka.Cluster.Tools/PublishSubscribe/Internal/TopicMessages.cs +++ b/src/contrib/cluster/Akka.Cluster.Tools/PublishSubscribe/Internal/TopicMessages.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using Akka.Actor; diff --git a/src/contrib/cluster/Akka.Cluster.Tools/PublishSubscribe/Internal/Topics.cs b/src/contrib/cluster/Akka.Cluster.Tools/PublishSubscribe/Internal/Topics.cs index b1be7fffd6c..add805e9926 100644 --- a/src/contrib/cluster/Akka.Cluster.Tools/PublishSubscribe/Internal/Topics.cs +++ b/src/contrib/cluster/Akka.Cluster.Tools/PublishSubscribe/Internal/Topics.cs @@ -7,9 +7,7 @@ using System; using System.Collections.Generic; -using System.Collections.Immutable; using System.Linq; -using System.Runtime.CompilerServices; using Akka.Actor; using Akka.Event; using Akka.Remote; diff --git a/src/contrib/cluster/Akka.Cluster.Tools/PublishSubscribe/Serialization/DistributedPubSubMessageSerializer.cs b/src/contrib/cluster/Akka.Cluster.Tools/PublishSubscribe/Serialization/DistributedPubSubMessageSerializer.cs index b50f7111d66..33a2a01dc81 100644 --- a/src/contrib/cluster/Akka.Cluster.Tools/PublishSubscribe/Serialization/DistributedPubSubMessageSerializer.cs +++ b/src/contrib/cluster/Akka.Cluster.Tools/PublishSubscribe/Serialization/DistributedPubSubMessageSerializer.cs @@ -14,7 +14,6 @@ using Akka.Cluster.Tools.PublishSubscribe.Internal; using Akka.Remote.Serialization; using Akka.Serialization; -using Akka.Util; using Google.Protobuf; using AddressData = Akka.Remote.Serialization.Proto.Msg.AddressData; using Status = Akka.Cluster.Tools.PublishSubscribe.Internal.Status; diff --git a/src/contrib/cluster/Akka.Cluster.Tools/Singleton/ClusterSingletonManager.cs b/src/contrib/cluster/Akka.Cluster.Tools/Singleton/ClusterSingletonManager.cs index 721752e04a3..ad9a7439113 100644 --- a/src/contrib/cluster/Akka.Cluster.Tools/Singleton/ClusterSingletonManager.cs +++ b/src/contrib/cluster/Akka.Cluster.Tools/Singleton/ClusterSingletonManager.cs @@ -16,7 +16,6 @@ using Akka.Coordination; using Akka.Dispatch; using Akka.Event; -using Akka.Pattern; using Akka.Remote; using Akka.Util.Internal; using static Akka.Cluster.ClusterEvent; diff --git a/src/contrib/cluster/Akka.Cluster.Tools/Singleton/ClusterSingletonProxySettings.cs b/src/contrib/cluster/Akka.Cluster.Tools/Singleton/ClusterSingletonProxySettings.cs index 5e579de23f3..458c90ce97a 100644 --- a/src/contrib/cluster/Akka.Cluster.Tools/Singleton/ClusterSingletonProxySettings.cs +++ b/src/contrib/cluster/Akka.Cluster.Tools/Singleton/ClusterSingletonProxySettings.cs @@ -9,7 +9,6 @@ using Akka.Actor; using Akka.Configuration; using Akka.Util; -using Google.Protobuf.WellKnownTypes; namespace Akka.Cluster.Tools.Singleton { diff --git a/src/contrib/cluster/Akka.Cluster.Tools/Singleton/OldestChangedBuffer.cs b/src/contrib/cluster/Akka.Cluster.Tools/Singleton/OldestChangedBuffer.cs index 7af3a3aeca4..cc4283a7020 100644 --- a/src/contrib/cluster/Akka.Cluster.Tools/Singleton/OldestChangedBuffer.cs +++ b/src/contrib/cluster/Akka.Cluster.Tools/Singleton/OldestChangedBuffer.cs @@ -11,7 +11,6 @@ using System.Linq; using System.Threading.Tasks; using Akka.Actor; -using Akka.Util.Internal; namespace Akka.Cluster.Tools.Singleton { diff --git a/src/contrib/cluster/Akka.DistributedData.LightningDB/LmdbDurableStore.cs b/src/contrib/cluster/Akka.DistributedData.LightningDB/LmdbDurableStore.cs index 5f0de5b917d..bf445e89abb 100644 --- a/src/contrib/cluster/Akka.DistributedData.LightningDB/LmdbDurableStore.cs +++ b/src/contrib/cluster/Akka.DistributedData.LightningDB/LmdbDurableStore.cs @@ -15,7 +15,6 @@ using Akka.DistributedData.Durable; using Akka.Event; using Akka.Serialization; -using Akka.DistributedData.Internal; using LightningDB; using System.Diagnostics; using System.Linq; diff --git a/src/contrib/cluster/Akka.DistributedData.LightningDB/Properties/AssemblyInfo.cs b/src/contrib/cluster/Akka.DistributedData.LightningDB/Properties/AssemblyInfo.cs index c0486e38843..762f57b095d 100644 --- a/src/contrib/cluster/Akka.DistributedData.LightningDB/Properties/AssemblyInfo.cs +++ b/src/contrib/cluster/Akka.DistributedData.LightningDB/Properties/AssemblyInfo.cs @@ -5,8 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Setting ComVisible to false makes the types in this assembly not visible diff --git a/src/contrib/cluster/Akka.DistributedData.Tests.MultiNode/DurableDataPocoSpec.cs b/src/contrib/cluster/Akka.DistributedData.Tests.MultiNode/DurableDataPocoSpec.cs index 91e488070ad..adfe638f330 100644 --- a/src/contrib/cluster/Akka.DistributedData.Tests.MultiNode/DurableDataPocoSpec.cs +++ b/src/contrib/cluster/Akka.DistributedData.Tests.MultiNode/DurableDataPocoSpec.cs @@ -9,10 +9,8 @@ using System.Collections.Immutable; using System.IO; using Akka.Actor; -using Akka.Cluster; using Akka.Cluster.TestKit; using Akka.Configuration; -using Akka.DistributedData.Durable; using Akka.Event; using Akka.MultiNode.TestAdapter; using Akka.Remote.TestKit; diff --git a/src/contrib/cluster/Akka.DistributedData.Tests.MultiNode/DurableDataSpec.cs b/src/contrib/cluster/Akka.DistributedData.Tests.MultiNode/DurableDataSpec.cs index aba0e5f1d5a..d80cb71f27b 100644 --- a/src/contrib/cluster/Akka.DistributedData.Tests.MultiNode/DurableDataSpec.cs +++ b/src/contrib/cluster/Akka.DistributedData.Tests.MultiNode/DurableDataSpec.cs @@ -9,7 +9,6 @@ using System.Collections.Immutable; using System.IO; using Akka.Actor; -using Akka.Cluster; using Akka.Cluster.TestKit; using Akka.Configuration; using Akka.DistributedData.Durable; @@ -17,7 +16,6 @@ using Akka.MultiNode.TestAdapter; using Akka.Remote.TestKit; using Akka.TestKit; -using FluentAssertions; using FluentAssertions.Extensions; namespace Akka.DistributedData.Tests.MultiNode diff --git a/src/contrib/cluster/Akka.DistributedData.Tests.MultiNode/Properties/AssemblyInfo.cs b/src/contrib/cluster/Akka.DistributedData.Tests.MultiNode/Properties/AssemblyInfo.cs index bcb37060b91..55db259f959 100644 --- a/src/contrib/cluster/Akka.DistributedData.Tests.MultiNode/Properties/AssemblyInfo.cs +++ b/src/contrib/cluster/Akka.DistributedData.Tests.MultiNode/Properties/AssemblyInfo.cs @@ -5,8 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Xunit; diff --git a/src/contrib/cluster/Akka.DistributedData.Tests.MultiNode/ReplicatorSpec.cs b/src/contrib/cluster/Akka.DistributedData.Tests.MultiNode/ReplicatorSpec.cs index bf72db01330..1235db46a48 100644 --- a/src/contrib/cluster/Akka.DistributedData.Tests.MultiNode/ReplicatorSpec.cs +++ b/src/contrib/cluster/Akka.DistributedData.Tests.MultiNode/ReplicatorSpec.cs @@ -12,7 +12,6 @@ using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; -using Akka.Cluster; using Akka.Cluster.TestKit; using Akka.Event; using Akka.MultiNode.TestAdapter; diff --git a/src/contrib/cluster/Akka.DistributedData.Tests/DeltaPropagationSelectorSpec.cs b/src/contrib/cluster/Akka.DistributedData.Tests/DeltaPropagationSelectorSpec.cs index 290f011c6ae..09720283098 100644 --- a/src/contrib/cluster/Akka.DistributedData.Tests/DeltaPropagationSelectorSpec.cs +++ b/src/contrib/cluster/Akka.DistributedData.Tests/DeltaPropagationSelectorSpec.cs @@ -5,8 +5,6 @@ // //----------------------------------------------------------------------- -using System; -using System.CodeDom; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; diff --git a/src/contrib/cluster/Akka.DistributedData.Tests/GCounterSpec.cs b/src/contrib/cluster/Akka.DistributedData.Tests/GCounterSpec.cs index 52eaf306c37..a6548ecc9ce 100644 --- a/src/contrib/cluster/Akka.DistributedData.Tests/GCounterSpec.cs +++ b/src/contrib/cluster/Akka.DistributedData.Tests/GCounterSpec.cs @@ -6,8 +6,6 @@ //----------------------------------------------------------------------- using Akka.Cluster; -using System.Numerics; -using Akka.Actor; using FluentAssertions; using Xunit; using Xunit.Abstractions; diff --git a/src/contrib/cluster/Akka.DistributedData.Tests/LWWDictionarySpec.cs b/src/contrib/cluster/Akka.DistributedData.Tests/LWWDictionarySpec.cs index d0bc7dd313c..fb908cebf5a 100644 --- a/src/contrib/cluster/Akka.DistributedData.Tests/LWWDictionarySpec.cs +++ b/src/contrib/cluster/Akka.DistributedData.Tests/LWWDictionarySpec.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using System.Threading.Tasks; using System.Collections.Generic; using System.Collections.Immutable; diff --git a/src/contrib/cluster/Akka.DistributedData.Tests/LightningDb/LmdbDurableStoreSpec.cs b/src/contrib/cluster/Akka.DistributedData.Tests/LightningDb/LmdbDurableStoreSpec.cs index 355926f6275..b591a5dd6fd 100644 --- a/src/contrib/cluster/Akka.DistributedData.Tests/LightningDb/LmdbDurableStoreSpec.cs +++ b/src/contrib/cluster/Akka.DistributedData.Tests/LightningDb/LmdbDurableStoreSpec.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System.IO; -using Akka.Actor; using Akka.Configuration; using Akka.DistributedData.Durable; using Akka.DistributedData.LightningDB; diff --git a/src/contrib/cluster/Akka.DistributedData.Tests/ORDictionarySpec.cs b/src/contrib/cluster/Akka.DistributedData.Tests/ORDictionarySpec.cs index 012e2ef3622..4f189cd00a4 100644 --- a/src/contrib/cluster/Akka.DistributedData.Tests/ORDictionarySpec.cs +++ b/src/contrib/cluster/Akka.DistributedData.Tests/ORDictionarySpec.cs @@ -7,7 +7,6 @@ using System; using System.Collections.Immutable; -using System.Linq; using System.Numerics; using Akka.Actor; using Akka.Cluster; diff --git a/src/contrib/cluster/Akka.DistributedData.Tests/ORMultiDictionarySpec.cs b/src/contrib/cluster/Akka.DistributedData.Tests/ORMultiDictionarySpec.cs index 31ec85f5a93..9b38e226b2f 100644 --- a/src/contrib/cluster/Akka.DistributedData.Tests/ORMultiDictionarySpec.cs +++ b/src/contrib/cluster/Akka.DistributedData.Tests/ORMultiDictionarySpec.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using System.Collections.Generic; using System.Collections.Immutable; using Akka.Actor; @@ -14,8 +13,6 @@ using Xunit; using Xunit.Abstractions; using Akka.DistributedData.Internal; -using Akka.DistributedData.Serialization; -using Akka.DistributedData; namespace Akka.DistributedData.Tests { diff --git a/src/contrib/cluster/Akka.DistributedData.Tests/ORSetSpec.cs b/src/contrib/cluster/Akka.DistributedData.Tests/ORSetSpec.cs index 02be6085d59..db3b1d38a75 100644 --- a/src/contrib/cluster/Akka.DistributedData.Tests/ORSetSpec.cs +++ b/src/contrib/cluster/Akka.DistributedData.Tests/ORSetSpec.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; diff --git a/src/contrib/cluster/Akka.DistributedData.Tests/PNCounterDictionarySpec.cs b/src/contrib/cluster/Akka.DistributedData.Tests/PNCounterDictionarySpec.cs index 0e6143a5164..93d39c95798 100644 --- a/src/contrib/cluster/Akka.DistributedData.Tests/PNCounterDictionarySpec.cs +++ b/src/contrib/cluster/Akka.DistributedData.Tests/PNCounterDictionarySpec.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Numerics; diff --git a/src/contrib/cluster/Akka.DistributedData.Tests/Properties/AssemblyInfo.cs b/src/contrib/cluster/Akka.DistributedData.Tests/Properties/AssemblyInfo.cs index 649c6837f39..5294b4d128e 100644 --- a/src/contrib/cluster/Akka.DistributedData.Tests/Properties/AssemblyInfo.cs +++ b/src/contrib/cluster/Akka.DistributedData.Tests/Properties/AssemblyInfo.cs @@ -5,8 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/src/contrib/cluster/Akka.DistributedData.Tests/ReplicatorResiliencySpec.cs b/src/contrib/cluster/Akka.DistributedData.Tests/ReplicatorResiliencySpec.cs index 2f29c2f58ba..045b544a2fd 100644 --- a/src/contrib/cluster/Akka.DistributedData.Tests/ReplicatorResiliencySpec.cs +++ b/src/contrib/cluster/Akka.DistributedData.Tests/ReplicatorResiliencySpec.cs @@ -14,7 +14,6 @@ using Akka.Configuration; using Akka.Dispatch.SysMsg; using Akka.DistributedData.Durable; -using Akka.DistributedData.LightningDB; using Akka.Event; using Akka.Pattern; using Akka.TestKit; diff --git a/src/contrib/cluster/Akka.DistributedData.Tests/ReplicatorSettingsSpec.cs b/src/contrib/cluster/Akka.DistributedData.Tests/ReplicatorSettingsSpec.cs index 20b483d1bc0..4d6ff49668f 100644 --- a/src/contrib/cluster/Akka.DistributedData.Tests/ReplicatorSettingsSpec.cs +++ b/src/contrib/cluster/Akka.DistributedData.Tests/ReplicatorSettingsSpec.cs @@ -8,7 +8,6 @@ using System; using Akka.Actor; using Akka.Configuration; -using Akka.Dispatch; using Akka.TestKit; using FluentAssertions; using Xunit; diff --git a/src/contrib/cluster/Akka.DistributedData.Tests/ReplicatorSpecs.cs b/src/contrib/cluster/Akka.DistributedData.Tests/ReplicatorSpecs.cs index 8cb60f43848..af1453ab01e 100644 --- a/src/contrib/cluster/Akka.DistributedData.Tests/ReplicatorSpecs.cs +++ b/src/contrib/cluster/Akka.DistributedData.Tests/ReplicatorSpecs.cs @@ -11,7 +11,6 @@ using System.Diagnostics; using System.Linq; using System.Numerics; -using System.Text; using System.Threading.Tasks; using Akka.Actor; using Akka.Cluster; diff --git a/src/contrib/cluster/Akka.DistributedData/DeltaPropagationSelector.cs b/src/contrib/cluster/Akka.DistributedData/DeltaPropagationSelector.cs index 2634c61acfa..f83aca729ef 100644 --- a/src/contrib/cluster/Akka.DistributedData/DeltaPropagationSelector.cs +++ b/src/contrib/cluster/Akka.DistributedData/DeltaPropagationSelector.cs @@ -11,7 +11,6 @@ using System.Linq; using Akka.Actor; using Akka.DistributedData.Internal; -using Akka.Event; using Akka.Util.Internal; namespace Akka.DistributedData diff --git a/src/contrib/cluster/Akka.DistributedData/GCounter.cs b/src/contrib/cluster/Akka.DistributedData/GCounter.cs index c8eadccbeef..c6e6d31adf2 100644 --- a/src/contrib/cluster/Akka.DistributedData/GCounter.cs +++ b/src/contrib/cluster/Akka.DistributedData/GCounter.cs @@ -10,7 +10,6 @@ using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; -using System.Numerics; namespace Akka.DistributedData { diff --git a/src/contrib/cluster/Akka.DistributedData/GSet.cs b/src/contrib/cluster/Akka.DistributedData/GSet.cs index 00928f4e976..ce8a63e1325 100644 --- a/src/contrib/cluster/Akka.DistributedData/GSet.cs +++ b/src/contrib/cluster/Akka.DistributedData/GSet.cs @@ -9,7 +9,6 @@ using System.Collections; using System.Collections.Generic; using System.Collections.Immutable; -using System.Linq; using System.Text; using Akka.Util.Internal; diff --git a/src/contrib/cluster/Akka.DistributedData/Key.cs b/src/contrib/cluster/Akka.DistributedData/Key.cs index 41ffa06d194..f2752c4ad88 100644 --- a/src/contrib/cluster/Akka.DistributedData/Key.cs +++ b/src/contrib/cluster/Akka.DistributedData/Key.cs @@ -5,8 +5,6 @@ // //----------------------------------------------------------------------- -using System; - namespace Akka.DistributedData { /// diff --git a/src/contrib/cluster/Akka.DistributedData/Properties/AssemblyInfo.cs b/src/contrib/cluster/Akka.DistributedData/Properties/AssemblyInfo.cs index 6bf85d8aa01..083f7dd2758 100644 --- a/src/contrib/cluster/Akka.DistributedData/Properties/AssemblyInfo.cs +++ b/src/contrib/cluster/Akka.DistributedData/Properties/AssemblyInfo.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/src/contrib/cluster/Akka.DistributedData/ReadWriteAggregator.cs b/src/contrib/cluster/Akka.DistributedData/ReadWriteAggregator.cs index 9c7d37f35c8..7224fc01654 100644 --- a/src/contrib/cluster/Akka.DistributedData/ReadWriteAggregator.cs +++ b/src/contrib/cluster/Akka.DistributedData/ReadWriteAggregator.cs @@ -10,7 +10,6 @@ using System.Collections.Immutable; using System.Linq; using Akka.Event; -using Akka.Util; using Akka.Util.Internal.Collections; namespace Akka.DistributedData diff --git a/src/contrib/cluster/Akka.DistributedData/ReplicatorSettings.cs b/src/contrib/cluster/Akka.DistributedData/ReplicatorSettings.cs index 78694084afc..7da78bfcf58 100644 --- a/src/contrib/cluster/Akka.DistributedData/ReplicatorSettings.cs +++ b/src/contrib/cluster/Akka.DistributedData/ReplicatorSettings.cs @@ -10,8 +10,6 @@ using Akka.Dispatch; using System; using System.Collections.Immutable; -using System.Collections.Generic; -using Akka.Event; namespace Akka.DistributedData { diff --git a/src/contrib/cluster/Akka.DistributedData/Serialization/OtherMessageComparer.cs b/src/contrib/cluster/Akka.DistributedData/Serialization/OtherMessageComparer.cs index 048f71c7229..5555390d48a 100644 --- a/src/contrib/cluster/Akka.DistributedData/Serialization/OtherMessageComparer.cs +++ b/src/contrib/cluster/Akka.DistributedData/Serialization/OtherMessageComparer.cs @@ -7,7 +7,6 @@ using System; using System.Collections.Generic; -using System.Text; using Akka.DistributedData.Serialization.Proto.Msg; namespace Akka.DistributedData.Serialization diff --git a/src/contrib/cluster/Akka.DistributedData/Serialization/SerializationSupport.cs b/src/contrib/cluster/Akka.DistributedData/Serialization/SerializationSupport.cs index 0ecc205b44b..f6703b98c9c 100644 --- a/src/contrib/cluster/Akka.DistributedData/Serialization/SerializationSupport.cs +++ b/src/contrib/cluster/Akka.DistributedData/Serialization/SerializationSupport.cs @@ -6,11 +6,8 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; -using System.IO; using System.IO.Compression; using System.Linq; -using System.Text; using Akka.Actor; using Akka.DistributedData.Serialization.Proto.Msg; using Akka.Serialization; diff --git a/src/contrib/dependencyinjection/Akka.DependencyInjection.Tests/ActorServiceProviderPropsWithScopesSpecs.cs b/src/contrib/dependencyinjection/Akka.DependencyInjection.Tests/ActorServiceProviderPropsWithScopesSpecs.cs index e402e49002e..b3258038984 100644 --- a/src/contrib/dependencyinjection/Akka.DependencyInjection.Tests/ActorServiceProviderPropsWithScopesSpecs.cs +++ b/src/contrib/dependencyinjection/Akka.DependencyInjection.Tests/ActorServiceProviderPropsWithScopesSpecs.cs @@ -8,7 +8,6 @@ using System; using System.Linq; using Akka.Actor; -using Akka.Configuration; using Akka.Routing; using Akka.TestKit; using FluentAssertions; diff --git a/src/contrib/dependencyinjection/Akka.DependencyInjection.Tests/AkkaDiFixture.cs b/src/contrib/dependencyinjection/Akka.DependencyInjection.Tests/AkkaDiFixture.cs index e052146b483..dee3e66237a 100644 --- a/src/contrib/dependencyinjection/Akka.DependencyInjection.Tests/AkkaDiFixture.cs +++ b/src/contrib/dependencyinjection/Akka.DependencyInjection.Tests/AkkaDiFixture.cs @@ -7,7 +7,6 @@ using System; using Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.Hosting; namespace Akka.DependencyInjection.Tests { diff --git a/src/contrib/dependencyinjection/Akka.DependencyInjection.Tests/BugFixSpec.cs b/src/contrib/dependencyinjection/Akka.DependencyInjection.Tests/BugFixSpec.cs index c9f73e29292..ecd8ed76e99 100644 --- a/src/contrib/dependencyinjection/Akka.DependencyInjection.Tests/BugFixSpec.cs +++ b/src/contrib/dependencyinjection/Akka.DependencyInjection.Tests/BugFixSpec.cs @@ -16,7 +16,6 @@ using Xunit; using Xunit.Abstractions; using FluentAssertions; -using static FluentAssertions.FluentActions; namespace Akka.DependencyInjection.Tests { diff --git a/src/contrib/dependencyinjection/Akka.DependencyInjection.Tests/ServiceProviderSetupSpecs.cs b/src/contrib/dependencyinjection/Akka.DependencyInjection.Tests/ServiceProviderSetupSpecs.cs index d8e49f769d3..5601bb66b58 100644 --- a/src/contrib/dependencyinjection/Akka.DependencyInjection.Tests/ServiceProviderSetupSpecs.cs +++ b/src/contrib/dependencyinjection/Akka.DependencyInjection.Tests/ServiceProviderSetupSpecs.cs @@ -10,7 +10,6 @@ using Akka.Configuration; using Akka.TestKit; using FluentAssertions; -using Microsoft.Extensions.DependencyInjection; using Xunit; using Xunit.Abstractions; diff --git a/src/contrib/persistence/Akka.Persistence.Query.InMemory.Tests/InMemoryPersistenceIdsSpec.cs b/src/contrib/persistence/Akka.Persistence.Query.InMemory.Tests/InMemoryPersistenceIdsSpec.cs index 8261372e259..ce62f74b5e6 100644 --- a/src/contrib/persistence/Akka.Persistence.Query.InMemory.Tests/InMemoryPersistenceIdsSpec.cs +++ b/src/contrib/persistence/Akka.Persistence.Query.InMemory.Tests/InMemoryPersistenceIdsSpec.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using Akka.Configuration; using Akka.Persistence.TCK.Query; using Xunit.Abstractions; diff --git a/src/contrib/persistence/Akka.Persistence.Query.Sql/Properties/AssemblyInfo.cs b/src/contrib/persistence/Akka.Persistence.Query.Sql/Properties/AssemblyInfo.cs index 4cbd3d9b112..9a957d0a6f0 100644 --- a/src/contrib/persistence/Akka.Persistence.Query.Sql/Properties/AssemblyInfo.cs +++ b/src/contrib/persistence/Akka.Persistence.Query.Sql/Properties/AssemblyInfo.cs @@ -5,8 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/src/contrib/persistence/Akka.Persistence.Sql.Common/Journal/BatchingSqlJournal.cs b/src/contrib/persistence/Akka.Persistence.Sql.Common/Journal/BatchingSqlJournal.cs index 993ea79cc45..268a4a36d01 100644 --- a/src/contrib/persistence/Akka.Persistence.Sql.Common/Journal/BatchingSqlJournal.cs +++ b/src/contrib/persistence/Akka.Persistence.Sql.Common/Journal/BatchingSqlJournal.cs @@ -13,7 +13,6 @@ using System.Diagnostics; using System.Linq; using System.Runtime.CompilerServices; -using System.Runtime.ExceptionServices; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; @@ -23,7 +22,6 @@ using Akka.Pattern; using Akka.Persistence.Journal; using Akka.Persistence.Sql.Common.Extensions; -using Akka.Persistence.Sql.Common.Journal; using Akka.Serialization; using Akka.Util; using Akka.Util.Internal; diff --git a/src/contrib/persistence/Akka.Persistence.Sql.Common/Journal/QueryApi.cs b/src/contrib/persistence/Akka.Persistence.Sql.Common/Journal/QueryApi.cs index 053ebb4d006..a51d71ae267 100644 --- a/src/contrib/persistence/Akka.Persistence.Sql.Common/Journal/QueryApi.cs +++ b/src/contrib/persistence/Akka.Persistence.Sql.Common/Journal/QueryApi.cs @@ -8,7 +8,6 @@ using System; using System.Collections.Generic; using System.Collections.Immutable; -using System.Linq; using Akka.Actor; using Akka.Event; using Akka.Persistence.Journal; diff --git a/src/contrib/persistence/Akka.Persistence.Sql.Common/Properties/AssemblyInfo.cs b/src/contrib/persistence/Akka.Persistence.Sql.Common/Properties/AssemblyInfo.cs index d36ee182254..c9b418fa0f2 100644 --- a/src/contrib/persistence/Akka.Persistence.Sql.Common/Properties/AssemblyInfo.cs +++ b/src/contrib/persistence/Akka.Persistence.Sql.Common/Properties/AssemblyInfo.cs @@ -5,8 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/src/contrib/persistence/Akka.Persistence.Sql.Common/Snapshot/SqlSnapshotStore.cs b/src/contrib/persistence/Akka.Persistence.Sql.Common/Snapshot/SqlSnapshotStore.cs index 20c5d0837fb..cee66da15b5 100644 --- a/src/contrib/persistence/Akka.Persistence.Sql.Common/Snapshot/SqlSnapshotStore.cs +++ b/src/contrib/persistence/Akka.Persistence.Sql.Common/Snapshot/SqlSnapshotStore.cs @@ -13,7 +13,6 @@ using Akka.Configuration; using Akka.Event; using Akka.Persistence.Snapshot; -using Akka.Util; using Akka.Util.Internal; namespace Akka.Persistence.Sql.Common.Snapshot diff --git a/src/contrib/persistence/Akka.Persistence.Sql.TestKit/Properties/AssemblyInfo.cs b/src/contrib/persistence/Akka.Persistence.Sql.TestKit/Properties/AssemblyInfo.cs index 1d41edf4949..16ce6faaa3b 100644 --- a/src/contrib/persistence/Akka.Persistence.Sql.TestKit/Properties/AssemblyInfo.cs +++ b/src/contrib/persistence/Akka.Persistence.Sql.TestKit/Properties/AssemblyInfo.cs @@ -5,8 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/AssemblyVersioning/BackwardsCompatSqliteJournalSpec.cs b/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/AssemblyVersioning/BackwardsCompatSqliteJournalSpec.cs index 2cd766888d0..0df1fdf9028 100644 --- a/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/AssemblyVersioning/BackwardsCompatSqliteJournalSpec.cs +++ b/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/AssemblyVersioning/BackwardsCompatSqliteJournalSpec.cs @@ -5,11 +5,8 @@ // //----------------------------------------------------------------------- -using System.Collections.Generic; using Akka.Actor; using Akka.Configuration; -using Akka.Persistence.TCK.Journal; -using Akka.Util.Internal; using Xunit; using Xunit.Abstractions; diff --git a/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/AssemblyVersioning/BackwardsCompatSqliteSnapshotStoreSpec.cs b/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/AssemblyVersioning/BackwardsCompatSqliteSnapshotStoreSpec.cs index 64528ce5313..427438e36e2 100644 --- a/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/AssemblyVersioning/BackwardsCompatSqliteSnapshotStoreSpec.cs +++ b/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/AssemblyVersioning/BackwardsCompatSqliteSnapshotStoreSpec.cs @@ -5,14 +5,7 @@ // //----------------------------------------------------------------------- -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; using Akka.Configuration; -using Akka.Persistence.TCK.Snapshot; -using Akka.Util.Internal; using Xunit; using Xunit.Abstractions; diff --git a/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Batching/BatchingSqliteAllEventsSpec.cs b/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Batching/BatchingSqliteAllEventsSpec.cs index 81f4a6c51ab..6b9ba90ba60 100644 --- a/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Batching/BatchingSqliteAllEventsSpec.cs +++ b/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Batching/BatchingSqliteAllEventsSpec.cs @@ -6,13 +6,10 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; -using System.Text; using Akka.Configuration; using Akka.Persistence.Query; using Akka.Persistence.Query.Sql; using Akka.Persistence.TCK.Query; -using Akka.Util.Internal; using Xunit.Abstractions; namespace Akka.Persistence.Sqlite.Tests.Query diff --git a/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Batching/BatchingSqliteCurrentAllEventsSpec.cs b/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Batching/BatchingSqliteCurrentAllEventsSpec.cs index bdc36d56942..5bb70d95c8e 100644 --- a/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Batching/BatchingSqliteCurrentAllEventsSpec.cs +++ b/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Batching/BatchingSqliteCurrentAllEventsSpec.cs @@ -5,9 +5,6 @@ // //----------------------------------------------------------------------- -using System; -using System.Collections.Generic; -using System.Text; using Akka.Configuration; using Akka.Persistence.Query; using Akka.Persistence.Query.Sql; diff --git a/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Batching/BatchingSqliteCurrentEventsByTagSpec.cs b/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Batching/BatchingSqliteCurrentEventsByTagSpec.cs index 07eae6d2703..913ba50baf6 100644 --- a/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Batching/BatchingSqliteCurrentEventsByTagSpec.cs +++ b/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Batching/BatchingSqliteCurrentEventsByTagSpec.cs @@ -10,7 +10,6 @@ using Akka.Persistence.Query.Sql; using Akka.Persistence.TCK.Query; using Akka.Util.Internal; -using Xunit; using Xunit.Abstractions; namespace Akka.Persistence.Sqlite.Tests.Batching diff --git a/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Batching/BatchingSqliteCurrentPersistenceIdsSpec.cs b/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Batching/BatchingSqliteCurrentPersistenceIdsSpec.cs index 4abba1c9353..8bd90e9c972 100644 --- a/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Batching/BatchingSqliteCurrentPersistenceIdsSpec.cs +++ b/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Batching/BatchingSqliteCurrentPersistenceIdsSpec.cs @@ -10,7 +10,6 @@ using Akka.Persistence.Query.Sql; using Akka.Persistence.TCK.Query; using Akka.Util.Internal; -using Xunit; using Xunit.Abstractions; namespace Akka.Persistence.Sqlite.Tests.Batching diff --git a/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Batching/BatchingSqlitePersistenceIdSpec.cs b/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Batching/BatchingSqlitePersistenceIdSpec.cs index c9daf132636..4cd11c6785e 100644 --- a/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Batching/BatchingSqlitePersistenceIdSpec.cs +++ b/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Batching/BatchingSqlitePersistenceIdSpec.cs @@ -10,7 +10,6 @@ using Akka.Persistence.Query; using Akka.Persistence.Query.Sql; using Akka.Persistence.TCK.Query; -using Akka.Util.Internal; using Xunit.Abstractions; namespace Akka.Persistence.Sqlite.Tests.Batching diff --git a/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Bugfix4360Spec.cs b/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Bugfix4360Spec.cs index 9e035bcf696..57ff5bbf5e7 100644 --- a/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Bugfix4360Spec.cs +++ b/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Bugfix4360Spec.cs @@ -8,7 +8,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Text; using Akka.Actor; using Akka.Configuration; using Akka.Util; diff --git a/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Legacy/SqliteLegacyJournalSpec.cs b/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Legacy/SqliteLegacyJournalSpec.cs index 75ab2a5c50c..db35985bc42 100644 --- a/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Legacy/SqliteLegacyJournalSpec.cs +++ b/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Legacy/SqliteLegacyJournalSpec.cs @@ -5,11 +5,9 @@ // //----------------------------------------------------------------------- -using System; using System.Collections.Generic; using System.IO; using System.Linq; -using System.Threading.Tasks; using Akka.Actor; using Akka.Configuration; using Akka.TestKit; diff --git a/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Performance/SqliteJournalPerfSpec.cs b/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Performance/SqliteJournalPerfSpec.cs index 72ab9354b9c..e188ce388f8 100644 --- a/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Performance/SqliteJournalPerfSpec.cs +++ b/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Performance/SqliteJournalPerfSpec.cs @@ -5,11 +5,6 @@ // //----------------------------------------------------------------------- -using Akka.Configuration; -using Akka.Persistence.TestKit.Performance; -using Akka.Util.Internal; -using Xunit.Abstractions; - namespace Akka.Persistence.Sqlite.Tests.Performance { // Skip performance test. Commented out for now, we'll add a specific environment variable controlled skipable fact later diff --git a/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Properties/AssemblyInfo.cs b/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Properties/AssemblyInfo.cs index d2de74193b8..a1e759c05bf 100644 --- a/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Properties/AssemblyInfo.cs +++ b/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Properties/AssemblyInfo.cs @@ -5,8 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Query/SqliteAllEventsSpec.cs b/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Query/SqliteAllEventsSpec.cs index 198f98667d6..5ee3ee9849a 100644 --- a/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Query/SqliteAllEventsSpec.cs +++ b/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Query/SqliteAllEventsSpec.cs @@ -6,13 +6,10 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; -using System.Text; using Akka.Configuration; using Akka.Persistence.Query; using Akka.Persistence.Query.Sql; using Akka.Persistence.TCK.Query; -using Akka.Util.Internal; using Xunit.Abstractions; namespace Akka.Persistence.Sqlite.Tests.Query diff --git a/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Query/SqliteCurrentAllEventsSpec.cs b/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Query/SqliteCurrentAllEventsSpec.cs index 1ab79f78cc6..0fbf3174eab 100644 --- a/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Query/SqliteCurrentAllEventsSpec.cs +++ b/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Query/SqliteCurrentAllEventsSpec.cs @@ -5,9 +5,6 @@ // //----------------------------------------------------------------------- -using System; -using System.Collections.Generic; -using System.Text; using Akka.Configuration; using Akka.Persistence.Query; using Akka.Persistence.Query.Sql; diff --git a/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Query/SqliteCurrentEventsByTagSpec.cs b/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Query/SqliteCurrentEventsByTagSpec.cs index 32d91b3af35..c77317eb54e 100644 --- a/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Query/SqliteCurrentEventsByTagSpec.cs +++ b/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Query/SqliteCurrentEventsByTagSpec.cs @@ -10,7 +10,6 @@ using Akka.Persistence.Query.Sql; using Akka.Persistence.TCK.Query; using Akka.Util.Internal; -using Xunit; using Xunit.Abstractions; namespace Akka.Persistence.Sqlite.Tests.Query diff --git a/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Query/SqliteCurrentPersistenceIdsSpec.cs b/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Query/SqliteCurrentPersistenceIdsSpec.cs index 51287e012b2..5bf8e91c121 100644 --- a/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Query/SqliteCurrentPersistenceIdsSpec.cs +++ b/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Query/SqliteCurrentPersistenceIdsSpec.cs @@ -10,7 +10,6 @@ using Akka.Persistence.Query.Sql; using Akka.Persistence.TCK.Query; using Akka.Util.Internal; -using Xunit; using Xunit.Abstractions; namespace Akka.Persistence.Sqlite.Tests.Query diff --git a/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Query/SqliteEventsByTagSpec.cs b/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Query/SqliteEventsByTagSpec.cs index b022d87ea8c..90099c1655a 100644 --- a/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Query/SqliteEventsByTagSpec.cs +++ b/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Query/SqliteEventsByTagSpec.cs @@ -10,7 +10,6 @@ using Akka.Persistence.Query.Sql; using Akka.Persistence.TCK.Query; using Akka.Util.Internal; -using Xunit; using Xunit.Abstractions; namespace Akka.Persistence.Sqlite.Tests.Query diff --git a/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Query/SqlitePersistenceIdsSpec.cs b/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Query/SqlitePersistenceIdsSpec.cs index 36c7ad66749..2cd8ffa3766 100644 --- a/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Query/SqlitePersistenceIdsSpec.cs +++ b/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Query/SqlitePersistenceIdsSpec.cs @@ -6,15 +6,10 @@ //----------------------------------------------------------------------- using System; -using System.Threading; -using Akka.Actor; using Akka.Configuration; using Akka.Persistence.Query; using Akka.Persistence.Query.Sql; using Akka.Persistence.TCK.Query; -using Akka.Streams.TestKit; -using Akka.Util.Internal; -using Xunit; using Xunit.Abstractions; namespace Akka.Persistence.Sqlite.Tests.Query diff --git a/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/SqliteConfigSpec.cs b/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/SqliteConfigSpec.cs index 68f403e82ff..31467988909 100644 --- a/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/SqliteConfigSpec.cs +++ b/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/SqliteConfigSpec.cs @@ -6,14 +6,10 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; using System.Data; -using Akka.Actor; using Akka.Configuration; -using Akka.Persistence.Sql.TestKit; using Akka.Persistence.Sql.Common; using Akka.Persistence.Sql.Common.Extensions; -using Akka.Util.Internal; using Xunit; using Xunit.Abstractions; using FluentAssertions; diff --git a/src/contrib/persistence/Akka.Persistence.Sqlite/Extension.cs b/src/contrib/persistence/Akka.Persistence.Sqlite/Extension.cs index 19965ffbb9b..bacbb0e45ab 100644 --- a/src/contrib/persistence/Akka.Persistence.Sqlite/Extension.cs +++ b/src/contrib/persistence/Akka.Persistence.Sqlite/Extension.cs @@ -7,7 +7,6 @@ using Akka.Actor; using Akka.Configuration; -using Akka.Persistence.Sql.Common; namespace Akka.Persistence.Sqlite { diff --git a/src/contrib/persistence/Akka.Persistence.Sqlite/Journal/SqliteJournal.cs b/src/contrib/persistence/Akka.Persistence.Sqlite/Journal/SqliteJournal.cs index 5194f022459..9e22c1fa59c 100644 --- a/src/contrib/persistence/Akka.Persistence.Sqlite/Journal/SqliteJournal.cs +++ b/src/contrib/persistence/Akka.Persistence.Sqlite/Journal/SqliteJournal.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using System.Data.Common; using Microsoft.Data.Sqlite; using Akka.Configuration; diff --git a/src/contrib/persistence/Akka.Persistence.Sqlite/Properties/AssemblyInfo.cs b/src/contrib/persistence/Akka.Persistence.Sqlite/Properties/AssemblyInfo.cs index 01c85036fe9..2e720a80175 100644 --- a/src/contrib/persistence/Akka.Persistence.Sqlite/Properties/AssemblyInfo.cs +++ b/src/contrib/persistence/Akka.Persistence.Sqlite/Properties/AssemblyInfo.cs @@ -5,8 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/src/contrib/serializers/Akka.Serialization.Hyperion.Tests/HyperionSerializerSetupSpec.cs b/src/contrib/serializers/Akka.Serialization.Hyperion.Tests/HyperionSerializerSetupSpec.cs index f9503578bb8..8f153867861 100644 --- a/src/contrib/serializers/Akka.Serialization.Hyperion.Tests/HyperionSerializerSetupSpec.cs +++ b/src/contrib/serializers/Akka.Serialization.Hyperion.Tests/HyperionSerializerSetupSpec.cs @@ -14,8 +14,6 @@ using System.Runtime.Serialization; using System.Security.Claims; using System.Security.Principal; -using System.Text; -using System.Threading.Tasks; using Akka.Actor; using Akka.Actor.Setup; using Akka.Configuration; diff --git a/src/contrib/serializers/Akka.Serialization.Hyperion.Tests/Properties/AssemblyInfo.cs b/src/contrib/serializers/Akka.Serialization.Hyperion.Tests/Properties/AssemblyInfo.cs index e05d3996476..09043bfe3d1 100644 --- a/src/contrib/serializers/Akka.Serialization.Hyperion.Tests/Properties/AssemblyInfo.cs +++ b/src/contrib/serializers/Akka.Serialization.Hyperion.Tests/Properties/AssemblyInfo.cs @@ -5,8 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/src/contrib/serializers/Akka.Serialization.Hyperion/HyperionSerializer.cs b/src/contrib/serializers/Akka.Serialization.Hyperion/HyperionSerializer.cs index e5d1ac4f0b9..db81917c862 100644 --- a/src/contrib/serializers/Akka.Serialization.Hyperion/HyperionSerializer.cs +++ b/src/contrib/serializers/Akka.Serialization.Hyperion/HyperionSerializer.cs @@ -7,7 +7,6 @@ using System; using System.Collections.Generic; -using System.Diagnostics; using System.IO; using System.Linq; using System.Runtime.InteropServices; diff --git a/src/contrib/serializers/Akka.Serialization.Hyperion/HyperionSerializerSetup.cs b/src/contrib/serializers/Akka.Serialization.Hyperion/HyperionSerializerSetup.cs index 2708b82fca0..ac26c4ae6b7 100644 --- a/src/contrib/serializers/Akka.Serialization.Hyperion/HyperionSerializerSetup.cs +++ b/src/contrib/serializers/Akka.Serialization.Hyperion/HyperionSerializerSetup.cs @@ -9,7 +9,6 @@ using System.Collections.Generic; using Akka.Actor; using Akka.Actor.Setup; -using Akka.Util; using Hyperion; namespace Akka.Serialization.Hyperion diff --git a/src/contrib/serializers/Akka.Serialization.Hyperion/Properties/AssemblyInfo.cs b/src/contrib/serializers/Akka.Serialization.Hyperion/Properties/AssemblyInfo.cs index 8751dc52f0c..ceea2dcf2a6 100644 --- a/src/contrib/serializers/Akka.Serialization.Hyperion/Properties/AssemblyInfo.cs +++ b/src/contrib/serializers/Akka.Serialization.Hyperion/Properties/AssemblyInfo.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/src/contrib/serializers/Akka.Serialization.TestKit/AkkaSerializationSpec.cs b/src/contrib/serializers/Akka.Serialization.TestKit/AkkaSerializationSpec.cs index d6b27182d1e..10cb85bc480 100644 --- a/src/contrib/serializers/Akka.Serialization.TestKit/AkkaSerializationSpec.cs +++ b/src/contrib/serializers/Akka.Serialization.TestKit/AkkaSerializationSpec.cs @@ -8,7 +8,6 @@ using System; using Akka.Actor; using Akka.Configuration; -using Akka.Dispatch.SysMsg; using Akka.Routing; using Akka.TestKit.TestActors; using Akka.Util; diff --git a/src/contrib/serializers/Akka.Serialization.TestKit/Properties/AssemblyInfo.cs b/src/contrib/serializers/Akka.Serialization.TestKit/Properties/AssemblyInfo.cs index 17167bcd9ae..b0916b43ef5 100644 --- a/src/contrib/serializers/Akka.Serialization.TestKit/Properties/AssemblyInfo.cs +++ b/src/contrib/serializers/Akka.Serialization.TestKit/Properties/AssemblyInfo.cs @@ -5,8 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/src/contrib/testkits/Akka.TestKit.Xunit/Internals/AkkaAssertEqualityComparer.cs b/src/contrib/testkits/Akka.TestKit.Xunit/Internals/AkkaAssertEqualityComparer.cs index d7b3de40fb7..7d75e5361e5 100644 --- a/src/contrib/testkits/Akka.TestKit.Xunit/Internals/AkkaAssertEqualityComparer.cs +++ b/src/contrib/testkits/Akka.TestKit.Xunit/Internals/AkkaAssertEqualityComparer.cs @@ -8,7 +8,6 @@ using System; using System.Collections; using System.Collections.Generic; -using System.Reflection; namespace Akka.TestKit.Xunit.Internals { diff --git a/src/contrib/testkits/Akka.TestKit.Xunit/Properties/AssemblyInfo.cs b/src/contrib/testkits/Akka.TestKit.Xunit/Properties/AssemblyInfo.cs index cb931eb3dc2..a1e066af0a4 100644 --- a/src/contrib/testkits/Akka.TestKit.Xunit/Properties/AssemblyInfo.cs +++ b/src/contrib/testkits/Akka.TestKit.Xunit/Properties/AssemblyInfo.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/src/contrib/testkits/Akka.TestKit.Xunit2/Attributes/LocalFactAttribute.cs b/src/contrib/testkits/Akka.TestKit.Xunit2/Attributes/LocalFactAttribute.cs index ce8097b0de3..2ffaa9de5d2 100644 --- a/src/contrib/testkits/Akka.TestKit.Xunit2/Attributes/LocalFactAttribute.cs +++ b/src/contrib/testkits/Akka.TestKit.Xunit2/Attributes/LocalFactAttribute.cs @@ -7,7 +7,6 @@ using System; using Xunit; -using Xunit.Sdk; namespace Akka.TestKit.Xunit2.Attributes { diff --git a/src/contrib/testkits/Akka.TestKit.Xunit2/Internals/AkkaAssertEqualityComparer.cs b/src/contrib/testkits/Akka.TestKit.Xunit2/Internals/AkkaAssertEqualityComparer.cs index 1e11cbcf0c5..9f3f76ef3a7 100644 --- a/src/contrib/testkits/Akka.TestKit.Xunit2/Internals/AkkaAssertEqualityComparer.cs +++ b/src/contrib/testkits/Akka.TestKit.Xunit2/Internals/AkkaAssertEqualityComparer.cs @@ -8,7 +8,6 @@ using System; using System.Collections; using System.Collections.Generic; -using System.Reflection; namespace Akka.TestKit.Xunit2.Internals { diff --git a/src/contrib/testkits/Akka.TestKit.Xunit2/Properties/AssemblyInfo.cs b/src/contrib/testkits/Akka.TestKit.Xunit2/Properties/AssemblyInfo.cs index 83c65e2ee21..b675d87e152 100644 --- a/src/contrib/testkits/Akka.TestKit.Xunit2/Properties/AssemblyInfo.cs +++ b/src/contrib/testkits/Akka.TestKit.Xunit2/Properties/AssemblyInfo.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/src/contrib/testkits/Akka.TestKit.Xunit2/TestKit.cs b/src/contrib/testkits/Akka.TestKit.Xunit2/TestKit.cs index 1c2dfae2bac..0746b61e81c 100644 --- a/src/contrib/testkits/Akka.TestKit.Xunit2/TestKit.cs +++ b/src/contrib/testkits/Akka.TestKit.Xunit2/TestKit.cs @@ -6,13 +6,11 @@ //----------------------------------------------------------------------- using System; -using System.Threading.Tasks; using Akka.Actor; using Akka.Actor.Setup; using Akka.Configuration; using Akka.Event; using Akka.TestKit.Xunit2.Internals; -using Xunit; using Xunit.Abstractions; namespace Akka.TestKit.Xunit2 diff --git a/src/core/Akka.API.Tests/CoreAPISpec.cs b/src/core/Akka.API.Tests/CoreAPISpec.cs index 69889baa731..22db32659c7 100644 --- a/src/core/Akka.API.Tests/CoreAPISpec.cs +++ b/src/core/Akka.API.Tests/CoreAPISpec.cs @@ -5,9 +5,6 @@ // //----------------------------------------------------------------------- -using System; -using System.IO; -using System.Reflection; using System.Threading.Tasks; using Akka.Actor; using Akka.Cluster; diff --git a/src/core/Akka.Cluster.TestKit/Properties/AssemblyInfo.cs b/src/core/Akka.Cluster.TestKit/Properties/AssemblyInfo.cs index 7f8312b2bb1..ef3a5c05e61 100644 --- a/src/core/Akka.Cluster.TestKit/Properties/AssemblyInfo.cs +++ b/src/core/Akka.Cluster.TestKit/Properties/AssemblyInfo.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/src/core/Akka.Cluster.Tests.MultiNode/AttemptSysMsgRedeliverySpec.cs b/src/core/Akka.Cluster.Tests.MultiNode/AttemptSysMsgRedeliverySpec.cs index 8cc66140c03..6ef3034ab6b 100644 --- a/src/core/Akka.Cluster.Tests.MultiNode/AttemptSysMsgRedeliverySpec.cs +++ b/src/core/Akka.Cluster.Tests.MultiNode/AttemptSysMsgRedeliverySpec.cs @@ -10,7 +10,6 @@ using Akka.MultiNode.TestAdapter; using Akka.Remote.TestKit; using Akka.Remote.Transport; -using FluentAssertions; using FluentAssertions.Extensions; namespace Akka.Cluster.Tests.MultiNode diff --git a/src/core/Akka.Cluster.Tests.MultiNode/Bugfix4353Specs.cs b/src/core/Akka.Cluster.Tests.MultiNode/Bugfix4353Specs.cs index abf53374901..1a74662ba40 100644 --- a/src/core/Akka.Cluster.Tests.MultiNode/Bugfix4353Specs.cs +++ b/src/core/Akka.Cluster.Tests.MultiNode/Bugfix4353Specs.cs @@ -5,17 +5,10 @@ // //----------------------------------------------------------------------- -using System; -using System.Linq; -using System.Collections.Generic; -using System.Threading; - -using Akka.Actor; using Akka.Cluster.TestKit; using Akka.Configuration; using Akka.MultiNode.TestAdapter; using Akka.Remote.TestKit; -using Akka.TestKit; namespace Akka.Cluster.Tests.MultiNode { diff --git a/src/core/Akka.Cluster.Tests.MultiNode/ClientDowningNodeThatIsUnreachableSpec.cs b/src/core/Akka.Cluster.Tests.MultiNode/ClientDowningNodeThatIsUnreachableSpec.cs index d3d6b1ed884..43774724ad2 100644 --- a/src/core/Akka.Cluster.Tests.MultiNode/ClientDowningNodeThatIsUnreachableSpec.cs +++ b/src/core/Akka.Cluster.Tests.MultiNode/ClientDowningNodeThatIsUnreachableSpec.cs @@ -9,7 +9,6 @@ using System.Collections.Immutable; using System.Linq; using Akka.Cluster.TestKit; -using Akka.Cluster.Tests.MultiNode; using Akka.MultiNode.TestAdapter; using Akka.Remote.TestKit; using Akka.TestKit; diff --git a/src/core/Akka.Cluster.Tests.MultiNode/ClientDowningNodeThatIsUpSpec.cs b/src/core/Akka.Cluster.Tests.MultiNode/ClientDowningNodeThatIsUpSpec.cs index 57f97d70406..3c547f2c30b 100644 --- a/src/core/Akka.Cluster.Tests.MultiNode/ClientDowningNodeThatIsUpSpec.cs +++ b/src/core/Akka.Cluster.Tests.MultiNode/ClientDowningNodeThatIsUpSpec.cs @@ -8,7 +8,6 @@ using System; using System.Collections.Immutable; using System.Linq; -using Akka.Cluster.Tests.MultiNode; using Akka.MultiNode.TestAdapter; using Akka.Remote.TestKit; using Akka.TestKit; diff --git a/src/core/Akka.Cluster.Tests.MultiNode/ClusterAccrualFailureDetectorSpec.cs b/src/core/Akka.Cluster.Tests.MultiNode/ClusterAccrualFailureDetectorSpec.cs index 15d588a4f82..43a7737171a 100644 --- a/src/core/Akka.Cluster.Tests.MultiNode/ClusterAccrualFailureDetectorSpec.cs +++ b/src/core/Akka.Cluster.Tests.MultiNode/ClusterAccrualFailureDetectorSpec.cs @@ -12,7 +12,6 @@ using Akka.Remote.TestKit; using Akka.Remote.Transport; using Akka.TestKit; -using Akka.Cluster.Tests.MultiNode; using Akka.MultiNode.TestAdapter; namespace Akka.Cluster.Tests.MultiNode diff --git a/src/core/Akka.Cluster.Tests.MultiNode/ConvergenceSpec.cs b/src/core/Akka.Cluster.Tests.MultiNode/ConvergenceSpec.cs index 3bff1d19da1..a2a456bc890 100644 --- a/src/core/Akka.Cluster.Tests.MultiNode/ConvergenceSpec.cs +++ b/src/core/Akka.Cluster.Tests.MultiNode/ConvergenceSpec.cs @@ -14,7 +14,6 @@ using Akka.MultiNode.TestAdapter; using Akka.Remote.TestKit; using Akka.TestKit; -using Xunit; namespace Akka.Cluster.Tests.MultiNode { diff --git a/src/core/Akka.Cluster.Tests.MultiNode/LeaderDowningAllOtherNodesSpec.cs b/src/core/Akka.Cluster.Tests.MultiNode/LeaderDowningAllOtherNodesSpec.cs index 3f64c96146f..0a35768099e 100644 --- a/src/core/Akka.Cluster.Tests.MultiNode/LeaderDowningAllOtherNodesSpec.cs +++ b/src/core/Akka.Cluster.Tests.MultiNode/LeaderDowningAllOtherNodesSpec.cs @@ -12,7 +12,6 @@ using Akka.MultiNode.TestAdapter; using Akka.Remote.TestKit; using Akka.Util.Internal; -using FluentAssertions; using FluentAssertions.Extensions; namespace Akka.Cluster.Tests.MultiNode diff --git a/src/core/Akka.Cluster.Tests.MultiNode/LeaderDowningNodeThatIsUnreachableSpec.cs b/src/core/Akka.Cluster.Tests.MultiNode/LeaderDowningNodeThatIsUnreachableSpec.cs index 55ee4c7a5c8..86274011851 100644 --- a/src/core/Akka.Cluster.Tests.MultiNode/LeaderDowningNodeThatIsUnreachableSpec.cs +++ b/src/core/Akka.Cluster.Tests.MultiNode/LeaderDowningNodeThatIsUnreachableSpec.cs @@ -6,16 +6,11 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; using System.Collections.Immutable; -using System.Linq; -using System.Text; -using System.Threading.Tasks; using Akka.Cluster.TestKit; using Akka.Configuration; using Akka.MultiNode.TestAdapter; using Akka.Remote.TestKit; -using FluentAssertions; using FluentAssertions.Extensions; namespace Akka.Cluster.Tests.MultiNode diff --git a/src/core/Akka.Cluster.Tests.MultiNode/NodeLeavingAndExitingAndBeingRemovedSpec.cs b/src/core/Akka.Cluster.Tests.MultiNode/NodeLeavingAndExitingAndBeingRemovedSpec.cs index 7113832afab..b00e790d684 100644 --- a/src/core/Akka.Cluster.Tests.MultiNode/NodeLeavingAndExitingAndBeingRemovedSpec.cs +++ b/src/core/Akka.Cluster.Tests.MultiNode/NodeLeavingAndExitingAndBeingRemovedSpec.cs @@ -8,7 +8,6 @@ using System; using System.Linq; using Akka.Cluster.TestKit; -using Akka.Configuration; using Akka.MultiNode.TestAdapter; using Akka.Remote.TestKit; using FluentAssertions; diff --git a/src/core/Akka.Cluster.Tests.MultiNode/Properties/AssemblyInfo.cs b/src/core/Akka.Cluster.Tests.MultiNode/Properties/AssemblyInfo.cs index 8a06bfbcdc6..8631c1660ec 100644 --- a/src/core/Akka.Cluster.Tests.MultiNode/Properties/AssemblyInfo.cs +++ b/src/core/Akka.Cluster.Tests.MultiNode/Properties/AssemblyInfo.cs @@ -5,8 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Xunit; diff --git a/src/core/Akka.Cluster.Tests.MultiNode/RestartNodeSpec.cs b/src/core/Akka.Cluster.Tests.MultiNode/RestartNodeSpec.cs index 39492b517ad..4af0b6f626a 100644 --- a/src/core/Akka.Cluster.Tests.MultiNode/RestartNodeSpec.cs +++ b/src/core/Akka.Cluster.Tests.MultiNode/RestartNodeSpec.cs @@ -6,11 +6,8 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; -using System.Text; -using System.Threading.Tasks; using Akka.Actor; using Akka.Actor.Dsl; using Akka.Cluster.TestKit; diff --git a/src/core/Akka.Cluster.Tests.MultiNode/Routing/ClusterConsistentHashingGroupSpec.cs b/src/core/Akka.Cluster.Tests.MultiNode/Routing/ClusterConsistentHashingGroupSpec.cs index 8c5dd83d596..51e1c19a7b4 100644 --- a/src/core/Akka.Cluster.Tests.MultiNode/Routing/ClusterConsistentHashingGroupSpec.cs +++ b/src/core/Akka.Cluster.Tests.MultiNode/Routing/ClusterConsistentHashingGroupSpec.cs @@ -11,7 +11,6 @@ using Akka.Actor; using Akka.Cluster.Routing; using Akka.Cluster.TestKit; -using Akka.Configuration; using Akka.MultiNode.TestAdapter; using Akka.Remote.TestKit; using Akka.Routing; diff --git a/src/core/Akka.Cluster.Tests.MultiNode/SBR/DownAllIndirectlyConnected5NodeSpec.cs b/src/core/Akka.Cluster.Tests.MultiNode/SBR/DownAllIndirectlyConnected5NodeSpec.cs index e8f97a1d250..3e084b2d95f 100644 --- a/src/core/Akka.Cluster.Tests.MultiNode/SBR/DownAllIndirectlyConnected5NodeSpec.cs +++ b/src/core/Akka.Cluster.Tests.MultiNode/SBR/DownAllIndirectlyConnected5NodeSpec.cs @@ -12,7 +12,6 @@ using Akka.MultiNode.TestAdapter; using Akka.Remote.TestKit; using Akka.Remote.Transport; -using Akka.TestKit; using FluentAssertions; namespace Akka.Cluster.Tests.MultiNode.SBR diff --git a/src/core/Akka.Cluster.Tests.MultiNode/SBR/DownAllUnstable5NodeSpec.cs b/src/core/Akka.Cluster.Tests.MultiNode/SBR/DownAllUnstable5NodeSpec.cs index f7fdc70d83f..cb7d81a6803 100644 --- a/src/core/Akka.Cluster.Tests.MultiNode/SBR/DownAllUnstable5NodeSpec.cs +++ b/src/core/Akka.Cluster.Tests.MultiNode/SBR/DownAllUnstable5NodeSpec.cs @@ -13,7 +13,6 @@ using Akka.MultiNode.TestAdapter; using Akka.Remote.TestKit; using Akka.Remote.Transport; -using Akka.TestKit; using FluentAssertions; namespace Akka.Cluster.Tests.MultiNode.SBR diff --git a/src/core/Akka.Cluster.Tests.MultiNode/SBR/IndirectlyConnected3NodeSpec.cs b/src/core/Akka.Cluster.Tests.MultiNode/SBR/IndirectlyConnected3NodeSpec.cs index 55fb9aecddf..11b9144a561 100644 --- a/src/core/Akka.Cluster.Tests.MultiNode/SBR/IndirectlyConnected3NodeSpec.cs +++ b/src/core/Akka.Cluster.Tests.MultiNode/SBR/IndirectlyConnected3NodeSpec.cs @@ -12,7 +12,6 @@ using Akka.MultiNode.TestAdapter; using Akka.Remote.TestKit; using Akka.Remote.Transport; -using Akka.TestKit; using FluentAssertions; namespace Akka.Cluster.Tests.MultiNode.SBR diff --git a/src/core/Akka.Cluster.Tests.MultiNode/SBR/IndirectlyConnected5NodeSpec.cs b/src/core/Akka.Cluster.Tests.MultiNode/SBR/IndirectlyConnected5NodeSpec.cs index d4c917f9341..e7ca2167706 100644 --- a/src/core/Akka.Cluster.Tests.MultiNode/SBR/IndirectlyConnected5NodeSpec.cs +++ b/src/core/Akka.Cluster.Tests.MultiNode/SBR/IndirectlyConnected5NodeSpec.cs @@ -12,7 +12,6 @@ using Akka.MultiNode.TestAdapter; using Akka.Remote.TestKit; using Akka.Remote.Transport; -using Akka.TestKit; using FluentAssertions; namespace Akka.Cluster.Tests.MultiNode.SBR diff --git a/src/core/Akka.Cluster.Tests.MultiNode/SBR/LeaseMajority5NodeSpec.cs b/src/core/Akka.Cluster.Tests.MultiNode/SBR/LeaseMajority5NodeSpec.cs index 7d7495c0b60..d6d85769a85 100644 --- a/src/core/Akka.Cluster.Tests.MultiNode/SBR/LeaseMajority5NodeSpec.cs +++ b/src/core/Akka.Cluster.Tests.MultiNode/SBR/LeaseMajority5NodeSpec.cs @@ -16,7 +16,6 @@ using Akka.MultiNode.TestAdapter; using Akka.Remote.TestKit; using Akka.Remote.Transport; -using Akka.TestKit; using FluentAssertions; namespace Akka.Cluster.Tests.MultiNode.SBR diff --git a/src/core/Akka.Cluster.Tests.MultiNode/SingletonClusterSpec.cs b/src/core/Akka.Cluster.Tests.MultiNode/SingletonClusterSpec.cs index d7d4bfbe20b..ffca5eded1b 100644 --- a/src/core/Akka.Cluster.Tests.MultiNode/SingletonClusterSpec.cs +++ b/src/core/Akka.Cluster.Tests.MultiNode/SingletonClusterSpec.cs @@ -7,7 +7,6 @@ using System; using System.Collections.Immutable; -using Akka.Actor; using Akka.Cluster.TestKit; using Akka.Configuration; using Akka.MultiNode.TestAdapter; diff --git a/src/core/Akka.Cluster.Tests.MultiNode/SplitBrainResolverDowningSpec.cs b/src/core/Akka.Cluster.Tests.MultiNode/SplitBrainResolverDowningSpec.cs index 3e839bb1bfe..edcdb17d7c3 100644 --- a/src/core/Akka.Cluster.Tests.MultiNode/SplitBrainResolverDowningSpec.cs +++ b/src/core/Akka.Cluster.Tests.MultiNode/SplitBrainResolverDowningSpec.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using System.Collections.Immutable; using System.Linq; using Akka.Cluster.TestKit; diff --git a/src/core/Akka.Cluster.Tests.MultiNode/StressSpec.cs b/src/core/Akka.Cluster.Tests.MultiNode/StressSpec.cs index 24181bcc95a..03de2c32591 100644 --- a/src/core/Akka.Cluster.Tests.MultiNode/StressSpec.cs +++ b/src/core/Akka.Cluster.Tests.MultiNode/StressSpec.cs @@ -27,7 +27,6 @@ using Akka.TestKit.TestEvent; using Akka.Util; using FluentAssertions; -using Google.Protobuf.WellKnownTypes; using Environment = System.Environment; namespace Akka.Cluster.Tests.MultiNode diff --git a/src/core/Akka.Cluster.Tests.MultiNode/TransitionSpec.cs b/src/core/Akka.Cluster.Tests.MultiNode/TransitionSpec.cs index d99aa013ad9..87d159291f0 100644 --- a/src/core/Akka.Cluster.Tests.MultiNode/TransitionSpec.cs +++ b/src/core/Akka.Cluster.Tests.MultiNode/TransitionSpec.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using System.Collections.Immutable; using System.Linq; using Akka.Actor; diff --git a/src/core/Akka.Cluster.Tests.Performance/Properties/AssemblyInfo.cs b/src/core/Akka.Cluster.Tests.Performance/Properties/AssemblyInfo.cs index 551ec91f76b..879f8a05fec 100644 --- a/src/core/Akka.Cluster.Tests.Performance/Properties/AssemblyInfo.cs +++ b/src/core/Akka.Cluster.Tests.Performance/Properties/AssemblyInfo.cs @@ -5,8 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Setting ComVisible to false makes the types in this assembly not visible diff --git a/src/core/Akka.Cluster.Tests.Performance/Startup/ClusterStartupSpec.cs b/src/core/Akka.Cluster.Tests.Performance/Startup/ClusterStartupSpec.cs index 11b16f43aac..2b3deb8cb45 100644 --- a/src/core/Akka.Cluster.Tests.Performance/Startup/ClusterStartupSpec.cs +++ b/src/core/Akka.Cluster.Tests.Performance/Startup/ClusterStartupSpec.cs @@ -6,8 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; -using System.Text; using System.Threading; using System.Threading.Tasks; using Akka.Actor; diff --git a/src/core/Akka.Cluster.Tests/ActorRefIgnoreSerializationSpec.cs b/src/core/Akka.Cluster.Tests/ActorRefIgnoreSerializationSpec.cs index 3fd3e9879aa..4bdccbde446 100644 --- a/src/core/Akka.Cluster.Tests/ActorRefIgnoreSerializationSpec.cs +++ b/src/core/Akka.Cluster.Tests/ActorRefIgnoreSerializationSpec.cs @@ -5,19 +5,12 @@ // //----------------------------------------------------------------------- -using System; -using System.Collections.Immutable; -using System.Linq; -using System.Threading; -using System.Threading.Tasks; using Akka.Actor; -using Akka.Configuration; using Akka.TestKit; using Akka.Util.Internal; using Xunit; using FluentAssertions; using Xunit.Abstractions; -using Akka.Util; namespace Akka.Cluster.Tests { diff --git a/src/core/Akka.Cluster.Tests/AutoDownSpec.cs b/src/core/Akka.Cluster.Tests/AutoDownSpec.cs index 74fc0358406..e0fccc01c48 100644 --- a/src/core/Akka.Cluster.Tests/AutoDownSpec.cs +++ b/src/core/Akka.Cluster.Tests/AutoDownSpec.cs @@ -9,7 +9,6 @@ using System.Threading.Tasks; using Akka.Actor; using Akka.TestKit; -using FluentAssertions; using FluentAssertions.Extensions; using Xunit; diff --git a/src/core/Akka.Cluster.Tests/ClusterDomainEventPublisherSpec.cs b/src/core/Akka.Cluster.Tests/ClusterDomainEventPublisherSpec.cs index bfd66ccfda4..4712b05bab9 100644 --- a/src/core/Akka.Cluster.Tests/ClusterDomainEventPublisherSpec.cs +++ b/src/core/Akka.Cluster.Tests/ClusterDomainEventPublisherSpec.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using System.Collections.Immutable; using System.Linq; using System.Threading.Tasks; diff --git a/src/core/Akka.Cluster.Tests/ClusterDomainEventSpec.cs b/src/core/Akka.Cluster.Tests/ClusterDomainEventSpec.cs index c5cb925be48..7ffe2893b1a 100644 --- a/src/core/Akka.Cluster.Tests/ClusterDomainEventSpec.cs +++ b/src/core/Akka.Cluster.Tests/ClusterDomainEventSpec.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using System.Collections.Immutable; using System.Linq; using Akka.Actor; diff --git a/src/core/Akka.Cluster.Tests/ClusterHeartBeatSenderStateSpec.cs b/src/core/Akka.Cluster.Tests/ClusterHeartBeatSenderStateSpec.cs index 00c89562288..acafa1b05a7 100644 --- a/src/core/Akka.Cluster.Tests/ClusterHeartBeatSenderStateSpec.cs +++ b/src/core/Akka.Cluster.Tests/ClusterHeartBeatSenderStateSpec.cs @@ -6,13 +6,11 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Linq; using Akka.Actor; using Akka.Remote; -using Akka.TestKit; using Akka.Util; using Akka.Util.Internal; using Xunit; diff --git a/src/core/Akka.Cluster.Tests/ClusterHeartbeatReceiverSpec.cs b/src/core/Akka.Cluster.Tests/ClusterHeartbeatReceiverSpec.cs index 30e12c0b94c..1314a153092 100644 --- a/src/core/Akka.Cluster.Tests/ClusterHeartbeatReceiverSpec.cs +++ b/src/core/Akka.Cluster.Tests/ClusterHeartbeatReceiverSpec.cs @@ -5,8 +5,6 @@ // //----------------------------------------------------------------------- -using System; -using System.Threading; using System.Threading.Tasks; using Akka.Actor; using Akka.Configuration; diff --git a/src/core/Akka.Cluster.Tests/ClusterSpec.cs b/src/core/Akka.Cluster.Tests/ClusterSpec.cs index ca638b72493..f68e26ef177 100644 --- a/src/core/Akka.Cluster.Tests/ClusterSpec.cs +++ b/src/core/Akka.Cluster.Tests/ClusterSpec.cs @@ -12,7 +12,6 @@ using System.Threading.Tasks; using Akka.Actor; using Akka.Configuration; -using Akka.Event; using Akka.TestKit; using Akka.TestKit.Extensions; using Akka.Util.Internal; diff --git a/src/core/Akka.Cluster.Tests/DowningProviderSpec.cs b/src/core/Akka.Cluster.Tests/DowningProviderSpec.cs index 0e5411af9f6..9c9a38a0709 100644 --- a/src/core/Akka.Cluster.Tests/DowningProviderSpec.cs +++ b/src/core/Akka.Cluster.Tests/DowningProviderSpec.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Threading; using Akka.Actor; using Akka.Configuration; using Akka.TestKit; diff --git a/src/core/Akka.Cluster.Tests/GossipSpec.cs b/src/core/Akka.Cluster.Tests/GossipSpec.cs index 7e24a12fdcf..e2ebdbab2be 100644 --- a/src/core/Akka.Cluster.Tests/GossipSpec.cs +++ b/src/core/Akka.Cluster.Tests/GossipSpec.cs @@ -10,10 +10,8 @@ using System.Collections.Immutable; using System.Linq; using Akka.Actor; -using Akka.TestKit; using Xunit; using FluentAssertions; -using static Akka.Cluster.ClusterCoreDaemon; namespace Akka.Cluster.Tests { diff --git a/src/core/Akka.Cluster.Tests/MemberOrderingModelBasedTests.cs b/src/core/Akka.Cluster.Tests/MemberOrderingModelBasedTests.cs index 917911ac475..8b8437b7da3 100644 --- a/src/core/Akka.Cluster.Tests/MemberOrderingModelBasedTests.cs +++ b/src/core/Akka.Cluster.Tests/MemberOrderingModelBasedTests.cs @@ -12,7 +12,6 @@ using Akka.Actor; using Akka.Tests.Shared.Internals.Helpers; using Akka.Util; -using Akka.Util.Internal; using FsCheck; using FsCheck.Experimental; using FsCheck.Xunit; diff --git a/src/core/Akka.Cluster.Tests/Properties/AssemblyInfo.cs b/src/core/Akka.Cluster.Tests/Properties/AssemblyInfo.cs index c9fb0d636ba..4d936783f36 100644 --- a/src/core/Akka.Cluster.Tests/Properties/AssemblyInfo.cs +++ b/src/core/Akka.Cluster.Tests/Properties/AssemblyInfo.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/src/core/Akka.Cluster.Tests/Routing/ClusterRouterAsk1343BugFixSpec.cs b/src/core/Akka.Cluster.Tests/Routing/ClusterRouterAsk1343BugFixSpec.cs index 90e5ac1f9c9..7950b589fa6 100644 --- a/src/core/Akka.Cluster.Tests/Routing/ClusterRouterAsk1343BugFixSpec.cs +++ b/src/core/Akka.Cluster.Tests/Routing/ClusterRouterAsk1343BugFixSpec.cs @@ -5,13 +5,8 @@ // //----------------------------------------------------------------------- -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using System.Threading.Tasks; using Akka.Actor; -using Akka.Cluster.Routing; using Akka.Routing; using Akka.TestKit; using Akka.TestKit.TestActors; diff --git a/src/core/Akka.Cluster.Tests/SBR/SplitBrainResolverSpec.cs b/src/core/Akka.Cluster.Tests/SBR/SplitBrainResolverSpec.cs index aed61eb05b5..c08241a6def 100644 --- a/src/core/Akka.Cluster.Tests/SBR/SplitBrainResolverSpec.cs +++ b/src/core/Akka.Cluster.Tests/SBR/SplitBrainResolverSpec.cs @@ -8,7 +8,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Text; using System.Threading.Tasks; using Akka.Actor; using Akka.Coordination; @@ -23,7 +22,6 @@ using Akka.Remote; using System.Text.RegularExpressions; using System.Threading; -using Akka.Util; using Akka.Coordination.Tests; namespace Akka.Cluster.Tests.SBR diff --git a/src/core/Akka.Cluster.Tests/Serialization/ClusterMessageSerializerSpec.cs b/src/core/Akka.Cluster.Tests/Serialization/ClusterMessageSerializerSpec.cs index 0d56d540256..a17cfbe5a40 100644 --- a/src/core/Akka.Cluster.Tests/Serialization/ClusterMessageSerializerSpec.cs +++ b/src/core/Akka.Cluster.Tests/Serialization/ClusterMessageSerializerSpec.cs @@ -15,8 +15,6 @@ using Xunit; using FluentAssertions; using Akka.Util; -using Akka.Util.Internal; -using Google.Protobuf; using Xunit.Abstractions; namespace Akka.Cluster.Tests.Serialization diff --git a/src/core/Akka.Cluster.Tests/SerializationChecksSpec.cs b/src/core/Akka.Cluster.Tests/SerializationChecksSpec.cs index dae6892f964..f36256bc14d 100644 --- a/src/core/Akka.Cluster.Tests/SerializationChecksSpec.cs +++ b/src/core/Akka.Cluster.Tests/SerializationChecksSpec.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using Akka.Configuration; using Akka.TestKit; using Xunit; using Xunit.Abstractions; diff --git a/src/core/Akka.Cluster.Tests/ShutdownAfterJoinSeedNodesSpec.cs b/src/core/Akka.Cluster.Tests/ShutdownAfterJoinSeedNodesSpec.cs index 9bc7caeaf6e..0419d206fd6 100644 --- a/src/core/Akka.Cluster.Tests/ShutdownAfterJoinSeedNodesSpec.cs +++ b/src/core/Akka.Cluster.Tests/ShutdownAfterJoinSeedNodesSpec.cs @@ -7,7 +7,6 @@ using System; using System.Collections.Immutable; -using System.Threading.Tasks; using Akka.Actor; using Akka.Configuration; using Akka.TestKit; diff --git a/src/core/Akka.Cluster.Tests/SplitBrainStrategySpec.cs b/src/core/Akka.Cluster.Tests/SplitBrainStrategySpec.cs index a69b1656a2e..400dffa43c0 100644 --- a/src/core/Akka.Cluster.Tests/SplitBrainStrategySpec.cs +++ b/src/core/Akka.Cluster.Tests/SplitBrainStrategySpec.cs @@ -5,10 +5,8 @@ // //----------------------------------------------------------------------- -using System; using System.Collections.Immutable; using Akka.Actor; -using Akka.TestKit; using Akka.Util; using FluentAssertions; using Xunit; diff --git a/src/core/Akka.Cluster.Tests/VectorClockSpec.cs b/src/core/Akka.Cluster.Tests/VectorClockSpec.cs index 493abb9a72c..6e4515e0bc5 100644 --- a/src/core/Akka.Cluster.Tests/VectorClockSpec.cs +++ b/src/core/Akka.Cluster.Tests/VectorClockSpec.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System.Collections.Generic; using FluentAssertions; using Xunit; diff --git a/src/core/Akka.Cluster/ClusterEvent.cs b/src/core/Akka.Cluster/ClusterEvent.cs index 0af7a31c600..4b1f8ff0c19 100644 --- a/src/core/Akka.Cluster/ClusterEvent.cs +++ b/src/core/Akka.Cluster/ClusterEvent.cs @@ -9,12 +9,10 @@ using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; -using System.Reflection; using Akka.Actor; using Akka.Dispatch; using Akka.Event; using Akka.Util.Internal; -using Newtonsoft.Json; namespace Akka.Cluster { diff --git a/src/core/Akka.Cluster/ClusterReadView.cs b/src/core/Akka.Cluster/ClusterReadView.cs index 528deb3c945..a6209e22a15 100644 --- a/src/core/Akka.Cluster/ClusterReadView.cs +++ b/src/core/Akka.Cluster/ClusterReadView.cs @@ -10,7 +10,6 @@ using System.Linq; using Akka.Actor; using Akka.Event; -using Akka.Util.Internal; namespace Akka.Cluster { diff --git a/src/core/Akka.Cluster/ClusterSettings.cs b/src/core/Akka.Cluster/ClusterSettings.cs index 5feabb6cca1..b36f0261318 100644 --- a/src/core/Akka.Cluster/ClusterSettings.cs +++ b/src/core/Akka.Cluster/ClusterSettings.cs @@ -6,10 +6,8 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; -using System.Reflection; using Akka.Actor; using Akka.Configuration; using Akka.Dispatch; diff --git a/src/core/Akka.Cluster/Configuration/ClusterConfigFactory.cs b/src/core/Akka.Cluster/Configuration/ClusterConfigFactory.cs index c5bd0c00a74..cd7992d4fe4 100644 --- a/src/core/Akka.Cluster/Configuration/ClusterConfigFactory.cs +++ b/src/core/Akka.Cluster/Configuration/ClusterConfigFactory.cs @@ -7,7 +7,6 @@ using System.Diagnostics; using System.IO; -using System.Reflection; using Akka.Configuration; namespace Akka.Cluster.Configuration diff --git a/src/core/Akka.Cluster/Gossip.cs b/src/core/Akka.Cluster/Gossip.cs index 0d011ea0b91..bb4b6f98234 100644 --- a/src/core/Akka.Cluster/Gossip.cs +++ b/src/core/Akka.Cluster/Gossip.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using Akka.Remote; diff --git a/src/core/Akka.Cluster/Member.cs b/src/core/Akka.Cluster/Member.cs index 3846f15fb1e..1abd73d5873 100644 --- a/src/core/Akka.Cluster/Member.cs +++ b/src/core/Akka.Cluster/Member.cs @@ -11,7 +11,6 @@ using System.Linq; using Akka.Actor; using Akka.Util; -using Akka.Util.Internal; using Newtonsoft.Json; namespace Akka.Cluster diff --git a/src/core/Akka.Cluster/Serialization/ClusterMessageSerializer.cs b/src/core/Akka.Cluster/Serialization/ClusterMessageSerializer.cs index 8a057f6018d..bd1aa4ddcaa 100644 --- a/src/core/Akka.Cluster/Serialization/ClusterMessageSerializer.cs +++ b/src/core/Akka.Cluster/Serialization/ClusterMessageSerializer.cs @@ -10,7 +10,6 @@ using System.Collections.Immutable; using System.Linq; using System.Runtime.CompilerServices; -using System.Runtime.Serialization; using Akka.Actor; using Akka.Annotations; using Akka.Cluster.Serialization.Proto.Msg; diff --git a/src/core/Akka.Coordination.Tests/TestLeaseActor.cs b/src/core/Akka.Coordination.Tests/TestLeaseActor.cs index 8fb727aebb6..c7f4ae637a0 100644 --- a/src/core/Akka.Coordination.Tests/TestLeaseActor.cs +++ b/src/core/Akka.Coordination.Tests/TestLeaseActor.cs @@ -8,10 +8,8 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Text; using System.Threading.Tasks; using Akka.Actor; -using Akka.Coordination; using Akka.Event; using Akka.Util; diff --git a/src/core/Akka.Coordination.Tests/TimeoutSettingsSpec.cs b/src/core/Akka.Coordination.Tests/TimeoutSettingsSpec.cs index 585f53b2c0e..8a83650e3b6 100644 --- a/src/core/Akka.Coordination.Tests/TimeoutSettingsSpec.cs +++ b/src/core/Akka.Coordination.Tests/TimeoutSettingsSpec.cs @@ -8,7 +8,6 @@ using System; using Akka.Configuration; using Akka.TestKit; -using FluentAssertions; using Xunit; using Xunit.Abstractions; diff --git a/src/core/Akka.Coordination/LeaseSettings.cs b/src/core/Akka.Coordination/LeaseSettings.cs index 7c0844b3f00..d70e8666eed 100644 --- a/src/core/Akka.Coordination/LeaseSettings.cs +++ b/src/core/Akka.Coordination/LeaseSettings.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using Akka.Configuration; namespace Akka.Coordination diff --git a/src/core/Akka.Discovery/Aggregate/AggregateServiceDiscovery.cs b/src/core/Akka.Discovery/Aggregate/AggregateServiceDiscovery.cs index 2475d36c678..a654f1b81c3 100644 --- a/src/core/Akka.Discovery/Aggregate/AggregateServiceDiscovery.cs +++ b/src/core/Akka.Discovery/Aggregate/AggregateServiceDiscovery.cs @@ -14,7 +14,6 @@ using Akka.Annotations; using Akka.Configuration; using Akka.Event; -using Akka.Util.Internal; namespace Akka.Discovery.Aggregate { diff --git a/src/core/Akka.Docs.Tests/Actors/CoordinatedShutdownSpecs.cs b/src/core/Akka.Docs.Tests/Actors/CoordinatedShutdownSpecs.cs index 9fb5da10d9f..04f3f915919 100644 --- a/src/core/Akka.Docs.Tests/Actors/CoordinatedShutdownSpecs.cs +++ b/src/core/Akka.Docs.Tests/Actors/CoordinatedShutdownSpecs.cs @@ -5,10 +5,6 @@ // //----------------------------------------------------------------------- -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using System.Threading.Tasks; using Akka.Actor; using FluentAssertions; diff --git a/src/core/Akka.Docs.Tests/Actors/FiniteStateMachine/FiniteStateMachine.Messages.cs b/src/core/Akka.Docs.Tests/Actors/FiniteStateMachine/FiniteStateMachine.Messages.cs index 679f4b362ff..b86b8e99687 100644 --- a/src/core/Akka.Docs.Tests/Actors/FiniteStateMachine/FiniteStateMachine.Messages.cs +++ b/src/core/Akka.Docs.Tests/Actors/FiniteStateMachine/FiniteStateMachine.Messages.cs @@ -7,11 +7,7 @@ using Akka.Actor; using System; -using System.Collections.Generic; using System.Collections.Immutable; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace DocsExamples.Actor.FiniteStateMachine { diff --git a/src/core/Akka.Docs.Tests/Actors/ReceiveActorAPI/Follower.cs b/src/core/Akka.Docs.Tests/Actors/ReceiveActorAPI/Follower.cs index b3ca1ac4505..bb26bc63674 100644 --- a/src/core/Akka.Docs.Tests/Actors/ReceiveActorAPI/Follower.cs +++ b/src/core/Akka.Docs.Tests/Actors/ReceiveActorAPI/Follower.cs @@ -6,9 +6,6 @@ //----------------------------------------------------------------------- using Akka.Actor; -using Akka.Event; -using System; -using System.Collections.Immutable; namespace DocsExamples.Actor.ReceiveActorAPI { diff --git a/src/core/Akka.Docs.Tests/Actors/UntypedActorAPI/Follower.cs b/src/core/Akka.Docs.Tests/Actors/UntypedActorAPI/Follower.cs index 2dbbebfe8ab..272d9572240 100644 --- a/src/core/Akka.Docs.Tests/Actors/UntypedActorAPI/Follower.cs +++ b/src/core/Akka.Docs.Tests/Actors/UntypedActorAPI/Follower.cs @@ -6,9 +6,6 @@ //----------------------------------------------------------------------- using Akka.Actor; -using Akka.Event; -using System; -using System.Collections.Immutable; namespace DocsExamples.Actor.UntypedActorAPI { diff --git a/src/core/Akka.Docs.Tests/Cluster.Metrics/RoutersUsageSample.cs b/src/core/Akka.Docs.Tests/Cluster.Metrics/RoutersUsageSample.cs index cc952dd57b1..9e74e09501f 100644 --- a/src/core/Akka.Docs.Tests/Cluster.Metrics/RoutersUsageSample.cs +++ b/src/core/Akka.Docs.Tests/Cluster.Metrics/RoutersUsageSample.cs @@ -5,16 +5,11 @@ // //----------------------------------------------------------------------- -using System.Collections.Generic; -using System.Collections.Immutable; using System.Numerics; -using System.Runtime.InteropServices; using System.Threading.Tasks; using Akka.Actor; -using Akka.Cluster.Routing; using Akka.Event; using Akka.Routing; -using FluentAssertions; using FluentAssertions.Extensions; namespace Akka.Cluster.Metrics.Tests diff --git a/src/core/Akka.Docs.Tests/Networking/IO/EchoConnection.cs b/src/core/Akka.Docs.Tests/Networking/IO/EchoConnection.cs index 48a57296912..c0cce71fe81 100644 --- a/src/core/Akka.Docs.Tests/Networking/IO/EchoConnection.cs +++ b/src/core/Akka.Docs.Tests/Networking/IO/EchoConnection.cs @@ -7,7 +7,6 @@ using Akka.Actor; using Akka.IO; -using Akka.Util.Internal; namespace DocsExamples.Networking.IO { diff --git a/src/core/Akka.Docs.Tests/Networking/Serialization/ProgrammaticJsonSerializerSetup.cs b/src/core/Akka.Docs.Tests/Networking/Serialization/ProgrammaticJsonSerializerSetup.cs index 830d7d89526..f4988cf18ee 100644 --- a/src/core/Akka.Docs.Tests/Networking/Serialization/ProgrammaticJsonSerializerSetup.cs +++ b/src/core/Akka.Docs.Tests/Networking/Serialization/ProgrammaticJsonSerializerSetup.cs @@ -5,11 +5,6 @@ // //----------------------------------------------------------------------- -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; using Akka.Actor; using Akka.Actor.Setup; using Akka.Serialization; diff --git a/src/core/Akka.Docs.Tests/Streams/HubsDocTests.cs b/src/core/Akka.Docs.Tests/Streams/HubsDocTests.cs index dd2227c1e41..52a0df4c1e6 100644 --- a/src/core/Akka.Docs.Tests/Streams/HubsDocTests.cs +++ b/src/core/Akka.Docs.Tests/Streams/HubsDocTests.cs @@ -7,7 +7,6 @@ using System; using System.Linq; -using System.Threading; using System.Threading.Tasks; using Akka; using Akka.Streams; diff --git a/src/core/Akka.Docs.Tests/Streams/RestartDocTests.cs b/src/core/Akka.Docs.Tests/Streams/RestartDocTests.cs index 63238f6aa0c..e3a5c9a977a 100644 --- a/src/core/Akka.Docs.Tests/Streams/RestartDocTests.cs +++ b/src/core/Akka.Docs.Tests/Streams/RestartDocTests.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Linq; using System.Net.Http; using Akka.Streams; using Akka.Streams.Dsl; diff --git a/src/core/Akka.Docs.Tests/Streams/StreamRefsDocTests.cs b/src/core/Akka.Docs.Tests/Streams/StreamRefsDocTests.cs index 8aced6069d8..a7b6ca39911 100644 --- a/src/core/Akka.Docs.Tests/Streams/StreamRefsDocTests.cs +++ b/src/core/Akka.Docs.Tests/Streams/StreamRefsDocTests.cs @@ -6,8 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Concurrent; -using System.Collections.Generic; using System.Threading.Tasks; using Akka; using Akka.Streams; @@ -16,8 +14,6 @@ using Xunit; using Xunit.Abstractions; using Akka.Actor; -using Akka.IO; -using Akka.Util; using System.Linq; namespace DocsExamples.Streams diff --git a/src/core/Akka.Docs.Tests/Streams/StreamTcpDocTests.cs b/src/core/Akka.Docs.Tests/Streams/StreamTcpDocTests.cs index 3db71c05d39..a479f520414 100644 --- a/src/core/Akka.Docs.Tests/Streams/StreamTcpDocTests.cs +++ b/src/core/Akka.Docs.Tests/Streams/StreamTcpDocTests.cs @@ -7,7 +7,6 @@ using System; using System.Collections.Concurrent; -using System.Collections.Generic; using System.Threading.Tasks; using Akka; using Akka.Streams; @@ -17,9 +16,7 @@ using Xunit.Abstractions; using Akka.Actor; using Akka.IO; -using Akka.Util; using Tcp = Akka.Streams.Dsl.Tcp; -using Akka.Configuration; namespace DocsExamples.Streams { diff --git a/src/core/Akka.Docs.Tests/Testkit/WithinSampleTest.cs b/src/core/Akka.Docs.Tests/Testkit/WithinSampleTest.cs index c9e402cd097..aff62dc392e 100644 --- a/src/core/Akka.Docs.Tests/Testkit/WithinSampleTest.cs +++ b/src/core/Akka.Docs.Tests/Testkit/WithinSampleTest.cs @@ -7,7 +7,6 @@ using Akka.Actor; using Akka.TestKit.Xunit2; -using FluentAssertions; using FluentAssertions.Extensions; using Xunit; diff --git a/src/core/Akka.Docs.Tutorials/Tutorial1/IotSupervisor.cs b/src/core/Akka.Docs.Tutorials/Tutorial1/IotSupervisor.cs index 361aaf80f9a..85663ff9949 100644 --- a/src/core/Akka.Docs.Tutorials/Tutorial1/IotSupervisor.cs +++ b/src/core/Akka.Docs.Tutorials/Tutorial1/IotSupervisor.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using Akka.Actor; using Akka.Event; diff --git a/src/core/Akka.Docs.Tutorials/Tutorial2/Device.cs b/src/core/Akka.Docs.Tutorials/Tutorial2/Device.cs index d0b5141920e..bba62ffff2e 100644 --- a/src/core/Akka.Docs.Tutorials/Tutorial2/Device.cs +++ b/src/core/Akka.Docs.Tutorials/Tutorial2/Device.cs @@ -5,11 +5,6 @@ // //----------------------------------------------------------------------- -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; using Akka.Actor; using Akka.Event; diff --git a/src/core/Akka.Docs.Tutorials/Tutorial2/DeviceInProgress.cs b/src/core/Akka.Docs.Tutorials/Tutorial2/DeviceInProgress.cs index 289652fea70..a85577d05c5 100644 --- a/src/core/Akka.Docs.Tutorials/Tutorial2/DeviceInProgress.cs +++ b/src/core/Akka.Docs.Tutorials/Tutorial2/DeviceInProgress.cs @@ -5,11 +5,6 @@ // //----------------------------------------------------------------------- -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; using Akka.Actor; using Akka.Event; diff --git a/src/core/Akka.Docs.Tutorials/Tutorial4/DeviceGroupQuerySpec.cs b/src/core/Akka.Docs.Tutorials/Tutorial4/DeviceGroupQuerySpec.cs index 89b10de27cf..51f1580376f 100644 --- a/src/core/Akka.Docs.Tutorials/Tutorial4/DeviceGroupQuerySpec.cs +++ b/src/core/Akka.Docs.Tutorials/Tutorial4/DeviceGroupQuerySpec.cs @@ -10,7 +10,6 @@ using Akka.Actor; using Akka.TestKit.Xunit2; using Akka.Util.Internal; -using FluentAssertions; using Xunit; namespace Tutorials.Tutorial4 diff --git a/src/core/Akka.Docs.Tutorials/Tutorial4/DeviceGroupSpec.cs b/src/core/Akka.Docs.Tutorials/Tutorial4/DeviceGroupSpec.cs index 52252d8616d..44ef0bd746e 100644 --- a/src/core/Akka.Docs.Tutorials/Tutorial4/DeviceGroupSpec.cs +++ b/src/core/Akka.Docs.Tutorials/Tutorial4/DeviceGroupSpec.cs @@ -5,11 +5,8 @@ // //----------------------------------------------------------------------- -using System; -using Akka.Actor; using Akka.TestKit.Xunit2; using Akka.Util.Internal; -using FluentAssertions; using Xunit; namespace Tutorials.Tutorial4 diff --git a/src/core/Akka.Persistence.Query.Tests/OffsetCompareSpecs.cs b/src/core/Akka.Persistence.Query.Tests/OffsetCompareSpecs.cs index e783fe1a186..47ad0370405 100644 --- a/src/core/Akka.Persistence.Query.Tests/OffsetCompareSpecs.cs +++ b/src/core/Akka.Persistence.Query.Tests/OffsetCompareSpecs.cs @@ -8,8 +8,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Text; -using System.Threading.Tasks; using FluentAssertions; using Xunit; diff --git a/src/core/Akka.Persistence.Query.Tests/Properties/AssemblyInfo.cs b/src/core/Akka.Persistence.Query.Tests/Properties/AssemblyInfo.cs index 6c16f9c19c3..8132bf2b8c6 100644 --- a/src/core/Akka.Persistence.Query.Tests/Properties/AssemblyInfo.cs +++ b/src/core/Akka.Persistence.Query.Tests/Properties/AssemblyInfo.cs @@ -5,8 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/src/core/Akka.Persistence.Query/Properties/AssemblyInfo.cs b/src/core/Akka.Persistence.Query/Properties/AssemblyInfo.cs index 3eadeb99f94..7c9b90194c5 100644 --- a/src/core/Akka.Persistence.Query/Properties/AssemblyInfo.cs +++ b/src/core/Akka.Persistence.Query/Properties/AssemblyInfo.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/src/core/Akka.Persistence.TCK.Tests/MemorySnapshotStoreSpec.cs b/src/core/Akka.Persistence.TCK.Tests/MemorySnapshotStoreSpec.cs index 953a48a58a6..04d134515c5 100644 --- a/src/core/Akka.Persistence.TCK.Tests/MemorySnapshotStoreSpec.cs +++ b/src/core/Akka.Persistence.TCK.Tests/MemorySnapshotStoreSpec.cs @@ -5,13 +5,11 @@ // //----------------------------------------------------------------------- -using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Akka.Actor; using Akka.Configuration; -using Akka.Persistence.Snapshot; using Akka.Persistence.TCK.Snapshot; using Akka.Util; using FluentAssertions; diff --git a/src/core/Akka.Persistence.TCK.Tests/Properties/AssemblyInfo.cs b/src/core/Akka.Persistence.TCK.Tests/Properties/AssemblyInfo.cs index 66523361207..6f38b66ba45 100644 --- a/src/core/Akka.Persistence.TCK.Tests/Properties/AssemblyInfo.cs +++ b/src/core/Akka.Persistence.TCK.Tests/Properties/AssemblyInfo.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/src/core/Akka.Persistence.TCK/PluginSpec.cs b/src/core/Akka.Persistence.TCK/PluginSpec.cs index 341429ffec0..f00a20f5ed7 100644 --- a/src/core/Akka.Persistence.TCK/PluginSpec.cs +++ b/src/core/Akka.Persistence.TCK/PluginSpec.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Threading.Tasks; using Akka.Actor; using Akka.Actor.Setup; using Akka.Configuration; diff --git a/src/core/Akka.Persistence.TCK/Properties/AssemblyInfo.cs b/src/core/Akka.Persistence.TCK/Properties/AssemblyInfo.cs index 753e1f43fa1..f740db37a06 100644 --- a/src/core/Akka.Persistence.TCK/Properties/AssemblyInfo.cs +++ b/src/core/Akka.Persistence.TCK/Properties/AssemblyInfo.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/src/core/Akka.Persistence.TCK/Query/AllEventsSpec.cs b/src/core/Akka.Persistence.TCK/Query/AllEventsSpec.cs index d8877e37ce1..1d5d1a4d24d 100644 --- a/src/core/Akka.Persistence.TCK/Query/AllEventsSpec.cs +++ b/src/core/Akka.Persistence.TCK/Query/AllEventsSpec.cs @@ -6,8 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; -using System.Text; using Akka.Actor; using Akka.Configuration; using Akka.Persistence.Query; diff --git a/src/core/Akka.Persistence.TCK/Query/CurrentAllEventsSpec.cs b/src/core/Akka.Persistence.TCK/Query/CurrentAllEventsSpec.cs index 3f16a8e207d..e6597fd6ae3 100644 --- a/src/core/Akka.Persistence.TCK/Query/CurrentAllEventsSpec.cs +++ b/src/core/Akka.Persistence.TCK/Query/CurrentAllEventsSpec.cs @@ -6,8 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; -using System.Text; using Akka.Actor; using Akka.Configuration; using Akka.Persistence.Query; diff --git a/src/core/Akka.Persistence.TCK/Query/CurrentEventsByPersistenceIdSpec.cs b/src/core/Akka.Persistence.TCK/Query/CurrentEventsByPersistenceIdSpec.cs index af71b76b902..3966cddc4bd 100644 --- a/src/core/Akka.Persistence.TCK/Query/CurrentEventsByPersistenceIdSpec.cs +++ b/src/core/Akka.Persistence.TCK/Query/CurrentEventsByPersistenceIdSpec.cs @@ -6,8 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Threading; -using System.Threading.Tasks; using Akka.Actor; using Akka.Configuration; using Akka.Persistence.Query; diff --git a/src/core/Akka.Persistence.TCK/Query/CurrentPersistenceIdsSpec.cs b/src/core/Akka.Persistence.TCK/Query/CurrentPersistenceIdsSpec.cs index c7959462cc9..64810a21cb7 100644 --- a/src/core/Akka.Persistence.TCK/Query/CurrentPersistenceIdsSpec.cs +++ b/src/core/Akka.Persistence.TCK/Query/CurrentPersistenceIdsSpec.cs @@ -7,7 +7,6 @@ using System; using System.Collections.Generic; -using System.Threading.Tasks; using Akka.Actor; using Akka.Configuration; using Akka.Persistence.Query; diff --git a/src/core/Akka.Persistence.TCK/Query/EventsByPersistenceIdSpec.cs b/src/core/Akka.Persistence.TCK/Query/EventsByPersistenceIdSpec.cs index 43d91da6982..0416f69fa0b 100644 --- a/src/core/Akka.Persistence.TCK/Query/EventsByPersistenceIdSpec.cs +++ b/src/core/Akka.Persistence.TCK/Query/EventsByPersistenceIdSpec.cs @@ -6,8 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Threading; -using System.Threading.Tasks; using Akka.Actor; using Akka.Configuration; using Akka.Persistence.Query; diff --git a/src/core/Akka.Persistence.TCK/Query/EventsByTagSpec.cs b/src/core/Akka.Persistence.TCK/Query/EventsByTagSpec.cs index 5e842a8cee9..97e337d71b7 100644 --- a/src/core/Akka.Persistence.TCK/Query/EventsByTagSpec.cs +++ b/src/core/Akka.Persistence.TCK/Query/EventsByTagSpec.cs @@ -11,7 +11,6 @@ using Akka.Persistence.Query; using Akka.Streams; using Akka.Streams.TestKit; -using Akka.TestKit; using FluentAssertions; using Xunit; using Xunit.Abstractions; diff --git a/src/core/Akka.Persistence.TCK/Snapshot/SnapshotStoreSpec.cs b/src/core/Akka.Persistence.TCK/Snapshot/SnapshotStoreSpec.cs index c4eea21419e..d67beb65782 100644 --- a/src/core/Akka.Persistence.TCK/Snapshot/SnapshotStoreSpec.cs +++ b/src/core/Akka.Persistence.TCK/Snapshot/SnapshotStoreSpec.cs @@ -11,7 +11,6 @@ using Akka.Actor; using Akka.Actor.Setup; using Akka.Configuration; -using Akka.Persistence.Fsm; using Akka.Persistence.TCK.Serialization; using Akka.TestKit; using Xunit; diff --git a/src/core/Akka.Persistence.TestKit.Tests/Bug4762FixSpec.cs b/src/core/Akka.Persistence.TestKit.Tests/Bug4762FixSpec.cs index 6593f12efb5..9169f32ca1b 100644 --- a/src/core/Akka.Persistence.TestKit.Tests/Bug4762FixSpec.cs +++ b/src/core/Akka.Persistence.TestKit.Tests/Bug4762FixSpec.cs @@ -5,10 +5,7 @@ // //----------------------------------------------------------------------- -using System; using System.Collections.Generic; -using System.Linq; -using System.Text; using System.Threading.Tasks; using Akka.Actor; using Akka.Event; diff --git a/src/core/Akka.Persistence.TestKit.Xunit2/PersistenceTestKit.cs b/src/core/Akka.Persistence.TestKit.Xunit2/PersistenceTestKit.cs index 406dab3d5d6..a9b71e33010 100644 --- a/src/core/Akka.Persistence.TestKit.Xunit2/PersistenceTestKit.cs +++ b/src/core/Akka.Persistence.TestKit.Xunit2/PersistenceTestKit.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using Akka.Actor.Setup; -using Akka.Configuration; namespace Akka.Persistence.TestKit { diff --git a/src/core/Akka.Persistence.TestKit/Properties/AssemblyInfo.cs b/src/core/Akka.Persistence.TestKit/Properties/AssemblyInfo.cs index 5a0d3d17bbc..8e2d74fe45f 100644 --- a/src/core/Akka.Persistence.TestKit/Properties/AssemblyInfo.cs +++ b/src/core/Akka.Persistence.TestKit/Properties/AssemblyInfo.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/src/core/Akka.Persistence.Tests/AtLeastOnceDeliveryCrashSpec.cs b/src/core/Akka.Persistence.Tests/AtLeastOnceDeliveryCrashSpec.cs index f0a77de7ed7..5d232cb8ac9 100644 --- a/src/core/Akka.Persistence.Tests/AtLeastOnceDeliveryCrashSpec.cs +++ b/src/core/Akka.Persistence.Tests/AtLeastOnceDeliveryCrashSpec.cs @@ -10,7 +10,6 @@ using Akka.Event; using Akka.TestKit; using Akka.TestKit.Xunit2.Attributes; -using Xunit; using Xunit.Abstractions; namespace Akka.Persistence.Tests diff --git a/src/core/Akka.Persistence.Tests/Delivery/ReliableDeliveryWithEventSourcedProducerQueueSpec.cs b/src/core/Akka.Persistence.Tests/Delivery/ReliableDeliveryWithEventSourcedProducerQueueSpec.cs index 576a2ba69c3..ccae512a6d5 100644 --- a/src/core/Akka.Persistence.Tests/Delivery/ReliableDeliveryWithEventSourcedProducerQueueSpec.cs +++ b/src/core/Akka.Persistence.Tests/Delivery/ReliableDeliveryWithEventSourcedProducerQueueSpec.cs @@ -11,7 +11,6 @@ using Akka.Delivery; using Akka.Event; using Akka.Persistence.Delivery; -using Akka.Persistence.Tests.Serialization; using Akka.Remote.Configuration; using Akka.TestKit; using Akka.Util; diff --git a/src/core/Akka.Persistence.Tests/OptionalSnapshotStoreSpec.cs b/src/core/Akka.Persistence.Tests/OptionalSnapshotStoreSpec.cs index 70bc72a921c..2cd5d18c397 100644 --- a/src/core/Akka.Persistence.Tests/OptionalSnapshotStoreSpec.cs +++ b/src/core/Akka.Persistence.Tests/OptionalSnapshotStoreSpec.cs @@ -7,7 +7,6 @@ using Akka.Actor; using Akka.Configuration; -using Akka.Event; using Akka.TestKit; using Xunit; diff --git a/src/core/Akka.Persistence.Tests/PersistenceSpec.cs b/src/core/Akka.Persistence.Tests/PersistenceSpec.cs index bdd3c831966..2949a806e35 100644 --- a/src/core/Akka.Persistence.Tests/PersistenceSpec.cs +++ b/src/core/Akka.Persistence.Tests/PersistenceSpec.cs @@ -9,7 +9,6 @@ using System.Collections.Generic; using System.IO; using System.Linq; -using System.Threading.Tasks; using Akka.Configuration; using Akka.TestKit; using Akka.Util.Internal; diff --git a/src/core/Akka.Persistence.Tests/Properties/AssemblyInfo.cs b/src/core/Akka.Persistence.Tests/Properties/AssemblyInfo.cs index 7c70c0f3702..62c56dd037b 100644 --- a/src/core/Akka.Persistence.Tests/Properties/AssemblyInfo.cs +++ b/src/core/Akka.Persistence.Tests/Properties/AssemblyInfo.cs @@ -5,9 +5,7 @@ // //----------------------------------------------------------------------- -using System.Reflection; using System.Runtime.InteropServices; -using Xunit; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information diff --git a/src/core/Akka.Persistence.Tests/Serialization/MessageSerializerRemotingSpec.cs b/src/core/Akka.Persistence.Tests/Serialization/MessageSerializerRemotingSpec.cs index 340dcd5bbb7..66eb3d15634 100644 --- a/src/core/Akka.Persistence.Tests/Serialization/MessageSerializerRemotingSpec.cs +++ b/src/core/Akka.Persistence.Tests/Serialization/MessageSerializerRemotingSpec.cs @@ -5,15 +5,12 @@ // //----------------------------------------------------------------------- -using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; -using System.Threading.Tasks; using Akka.Actor; using Akka.Configuration; using Akka.TestKit; -using FluentAssertions; using FluentAssertions.Extensions; using Xunit; diff --git a/src/core/Akka.Persistence.Tests/Serialization/SerializationSpec.cs b/src/core/Akka.Persistence.Tests/Serialization/SerializationSpec.cs index e7a2769d883..d1532b80aac 100644 --- a/src/core/Akka.Persistence.Tests/Serialization/SerializationSpec.cs +++ b/src/core/Akka.Persistence.Tests/Serialization/SerializationSpec.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using Akka.Actor; using Akka.Configuration; using Akka.TestKit; using Xunit; diff --git a/src/core/Akka.Persistence.Tests/Serialization/TestSerializers.cs b/src/core/Akka.Persistence.Tests/Serialization/TestSerializers.cs index 33781584181..57554e7c4ec 100644 --- a/src/core/Akka.Persistence.Tests/Serialization/TestSerializers.cs +++ b/src/core/Akka.Persistence.Tests/Serialization/TestSerializers.cs @@ -9,7 +9,6 @@ using System.Text; using Akka.Actor; using Akka.Serialization; -using Akka.Util; namespace Akka.Persistence.Tests.Serialization { diff --git a/src/core/Akka.Persistence.Tests/SnapshotDecodeFailureSpec.cs b/src/core/Akka.Persistence.Tests/SnapshotDecodeFailureSpec.cs index a124888d6fc..94c75e323fc 100644 --- a/src/core/Akka.Persistence.Tests/SnapshotDecodeFailureSpec.cs +++ b/src/core/Akka.Persistence.Tests/SnapshotDecodeFailureSpec.cs @@ -12,7 +12,6 @@ using Akka.TestKit.Internal.StringMatcher; using Akka.TestKit.TestEvent; using Xunit; -using static Akka.Persistence.Tests.SnapshotSpec; namespace Akka.Persistence.Tests { diff --git a/src/core/Akka.Persistence.Tests/SnapshotDirectoryFailureSpec.cs b/src/core/Akka.Persistence.Tests/SnapshotDirectoryFailureSpec.cs index cadb52abbfa..3fdd6c7579f 100644 --- a/src/core/Akka.Persistence.Tests/SnapshotDirectoryFailureSpec.cs +++ b/src/core/Akka.Persistence.Tests/SnapshotDirectoryFailureSpec.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System.IO; -using System.Threading.Tasks; using Akka.Actor; using Xunit; diff --git a/src/core/Akka.Persistence.Tests/SnapshotFailureRobustnessSpec.cs b/src/core/Akka.Persistence.Tests/SnapshotFailureRobustnessSpec.cs index 96a489bd5ae..21c30335090 100644 --- a/src/core/Akka.Persistence.Tests/SnapshotFailureRobustnessSpec.cs +++ b/src/core/Akka.Persistence.Tests/SnapshotFailureRobustnessSpec.cs @@ -6,16 +6,13 @@ //----------------------------------------------------------------------- using System; -using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using Akka.Actor; using Akka.Event; using Akka.Persistence.Snapshot; -using Akka.TestKit.TestEvent; using Akka.Util.Internal; -using FluentAssertions; using FluentAssertions.Extensions; using Xunit; diff --git a/src/core/Akka.Persistence.Tests/TimerPersistentActorSpec.cs b/src/core/Akka.Persistence.Tests/TimerPersistentActorSpec.cs index f4aa143e73d..46189cdf0b0 100644 --- a/src/core/Akka.Persistence.Tests/TimerPersistentActorSpec.cs +++ b/src/core/Akka.Persistence.Tests/TimerPersistentActorSpec.cs @@ -6,13 +6,8 @@ //----------------------------------------------------------------------- using System; -using System.Linq; using Akka.Actor; using Akka.Configuration; -using Akka.TestKit; -using Akka.TestKit.TestActors; -using Akka.Util.Internal; -using FluentAssertions; using Xunit; namespace Akka.Persistence.Tests diff --git a/src/core/Akka.Persistence/Journal/EventAdapters.cs b/src/core/Akka.Persistence/Journal/EventAdapters.cs index a4d37b77a7b..2fdfcbc50dc 100644 --- a/src/core/Akka.Persistence/Journal/EventAdapters.cs +++ b/src/core/Akka.Persistence/Journal/EventAdapters.cs @@ -9,7 +9,6 @@ using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; -using System.Reflection; using Akka.Actor; using Akka.Configuration; using Akka.Configuration.Hocon; diff --git a/src/core/Akka.Persistence/Journal/PersistencePluginProxy.cs b/src/core/Akka.Persistence/Journal/PersistencePluginProxy.cs index 4b18dc545cc..56ca6a63c5e 100644 --- a/src/core/Akka.Persistence/Journal/PersistencePluginProxy.cs +++ b/src/core/Akka.Persistence/Journal/PersistencePluginProxy.cs @@ -11,7 +11,6 @@ using Akka.Actor; using Akka.Configuration; using Akka.Event; -using Akka.Util.Internal; namespace Akka.Persistence.Journal { diff --git a/src/core/Akka.Persistence/Persistence.cs b/src/core/Akka.Persistence/Persistence.cs index 1100b5d0f79..7de301eb081 100644 --- a/src/core/Akka.Persistence/Persistence.cs +++ b/src/core/Akka.Persistence/Persistence.cs @@ -8,7 +8,6 @@ using System; using System.Collections.Concurrent; using System.Linq; -using System.Reflection; using System.Threading; using Akka.Actor; using Akka.Annotations; diff --git a/src/core/Akka.Persistence/Properties/AssemblyInfo.cs b/src/core/Akka.Persistence/Properties/AssemblyInfo.cs index 7fdf32cdf8a..b601482734e 100644 --- a/src/core/Akka.Persistence/Properties/AssemblyInfo.cs +++ b/src/core/Akka.Persistence/Properties/AssemblyInfo.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/src/core/Akka.Persistence/Serialization/IMessage.cs b/src/core/Akka.Persistence/Serialization/IMessage.cs index 7b22d92f8fc..8c8863c52dd 100644 --- a/src/core/Akka.Persistence/Serialization/IMessage.cs +++ b/src/core/Akka.Persistence/Serialization/IMessage.cs @@ -5,14 +5,6 @@ // //----------------------------------------------------------------------- -using System; -using System.Collections.Generic; -using System.Collections.Immutable; -using System.Linq; -using Akka.Actor; -using Akka.Serialization; -using Akka.Util; - namespace Akka.Persistence.Serialization { /// diff --git a/src/core/Akka.Persistence/Serialization/PersistenceMessageSerializer.cs b/src/core/Akka.Persistence/Serialization/PersistenceMessageSerializer.cs index c8fc431651e..2c85bda74d9 100644 --- a/src/core/Akka.Persistence/Serialization/PersistenceMessageSerializer.cs +++ b/src/core/Akka.Persistence/Serialization/PersistenceMessageSerializer.cs @@ -8,13 +8,11 @@ using System; using System.Collections.Generic; using System.Collections.Immutable; -using System.Reflection; using System.Runtime.Serialization; using Akka.Actor; using Akka.Persistence.Fsm; using Akka.Persistence.Serialization.Proto.Msg; using Akka.Serialization; -using Akka.Util; using Google.Protobuf; namespace Akka.Persistence.Serialization diff --git a/src/core/Akka.Persistence/Serialization/Snapshot.cs b/src/core/Akka.Persistence/Serialization/Snapshot.cs index 8cb852f98b2..cfd8bd7f582 100644 --- a/src/core/Akka.Persistence/Serialization/Snapshot.cs +++ b/src/core/Akka.Persistence/Serialization/Snapshot.cs @@ -5,13 +5,6 @@ // //----------------------------------------------------------------------- -using System; -using System.IO; -using System.Text; -using Akka.Actor; -using Akka.Serialization; -using Akka.Util; - namespace Akka.Persistence.Serialization { /// diff --git a/src/core/Akka.Persistence/Snapshot/LocalSnapshotStore.cs b/src/core/Akka.Persistence/Snapshot/LocalSnapshotStore.cs index 7a13858a477..ac8127258f0 100644 --- a/src/core/Akka.Persistence/Snapshot/LocalSnapshotStore.cs +++ b/src/core/Akka.Persistence/Snapshot/LocalSnapshotStore.cs @@ -14,7 +14,6 @@ using System.Threading.Tasks; using Akka.Dispatch; using Akka.Event; -using Akka.Configuration; namespace Akka.Persistence.Snapshot { diff --git a/src/core/Akka.Persistence/Snapshotter.cs b/src/core/Akka.Persistence/Snapshotter.cs index 4a750f86276..b11f991cf46 100644 --- a/src/core/Akka.Persistence/Snapshotter.cs +++ b/src/core/Akka.Persistence/Snapshotter.cs @@ -5,8 +5,6 @@ // //----------------------------------------------------------------------- -using System; - namespace Akka.Persistence { /// diff --git a/src/core/Akka.Remote.TestKit.Tests/Properties/AssemblyInfo.cs b/src/core/Akka.Remote.TestKit.Tests/Properties/AssemblyInfo.cs index 79d20a337a1..d3af8405bfb 100644 --- a/src/core/Akka.Remote.TestKit.Tests/Properties/AssemblyInfo.cs +++ b/src/core/Akka.Remote.TestKit.Tests/Properties/AssemblyInfo.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/src/core/Akka.Remote.TestKit.Tests/RemoteConnectionSpecs.cs b/src/core/Akka.Remote.TestKit.Tests/RemoteConnectionSpecs.cs index 4d02bd63c71..52e70f58483 100644 --- a/src/core/Akka.Remote.TestKit.Tests/RemoteConnectionSpecs.cs +++ b/src/core/Akka.Remote.TestKit.Tests/RemoteConnectionSpecs.cs @@ -6,10 +6,7 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; -using System.Linq; using System.Net; -using System.Text; using System.Threading; using FluentAssertions; using System.Threading.Tasks; diff --git a/src/core/Akka.Remote.TestKit/BarrierCoordinator.cs b/src/core/Akka.Remote.TestKit/BarrierCoordinator.cs index a0ae256eb2d..acec17255af 100644 --- a/src/core/Akka.Remote.TestKit/BarrierCoordinator.cs +++ b/src/core/Akka.Remote.TestKit/BarrierCoordinator.cs @@ -10,7 +10,6 @@ using System.Collections.Immutable; using System.Linq; using Akka.Actor; -using Akka.Util.Internal; using Akka.Event; namespace Akka.Remote.TestKit diff --git a/src/core/Akka.Remote.TestKit/CommandLine.cs b/src/core/Akka.Remote.TestKit/CommandLine.cs index fcea06815ea..160f0f5c9d7 100644 --- a/src/core/Akka.Remote.TestKit/CommandLine.cs +++ b/src/core/Akka.Remote.TestKit/CommandLine.cs @@ -7,7 +7,6 @@ using System; using System.Collections.Generic; -using System.Collections.Specialized; using Akka.Configuration; namespace Akka.Remote.TestKit diff --git a/src/core/Akka.Remote.TestKit/Controller.cs b/src/core/Akka.Remote.TestKit/Controller.cs index 91f8b79146f..c8aec181bda 100644 --- a/src/core/Akka.Remote.TestKit/Controller.cs +++ b/src/core/Akka.Remote.TestKit/Controller.cs @@ -9,7 +9,6 @@ using System.Collections.Immutable; using System.Net; using System.Runtime.Serialization; -using System.Threading.Tasks; using Akka.Actor; using Akka.Event; using DotNetty.Transport.Channels; diff --git a/src/core/Akka.Remote.TestKit/Internals/TestConductorConfigFactory.cs b/src/core/Akka.Remote.TestKit/Internals/TestConductorConfigFactory.cs index 7e6bd757a21..c9313509e17 100644 --- a/src/core/Akka.Remote.TestKit/Internals/TestConductorConfigFactory.cs +++ b/src/core/Akka.Remote.TestKit/Internals/TestConductorConfigFactory.cs @@ -7,7 +7,6 @@ using System.Diagnostics; using System.IO; -using System.Reflection; using Akka.Configuration; namespace Akka.Remote.TestKit.Internals diff --git a/src/core/Akka.Remote.TestKit/MsgEncoder.cs b/src/core/Akka.Remote.TestKit/MsgEncoder.cs index 8e633a74107..32f1d730311 100644 --- a/src/core/Akka.Remote.TestKit/MsgEncoder.cs +++ b/src/core/Akka.Remote.TestKit/MsgEncoder.cs @@ -5,14 +5,12 @@ // //----------------------------------------------------------------------- -using System; using System.Collections.Generic; using Akka.Actor; using Akka.Remote.Transport; using DotNetty.Codecs; using DotNetty.Common.Internal.Logging; using DotNetty.Transport.Channels; -using Google.Protobuf; using Microsoft.Extensions.Logging; namespace Akka.Remote.TestKit diff --git a/src/core/Akka.Remote.TestKit/MultiNodeSpec.cs b/src/core/Akka.Remote.TestKit/MultiNodeSpec.cs index 78fe9eeca2c..9e73fd11ec9 100644 --- a/src/core/Akka.Remote.TestKit/MultiNodeSpec.cs +++ b/src/core/Akka.Remote.TestKit/MultiNodeSpec.cs @@ -8,12 +8,8 @@ using System; using System.Collections.Generic; using System.Collections.Immutable; -using System.Diagnostics; using System.Linq; using System.Net; -using System.Net.Sockets; -using System.Reflection; -using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; using Akka.Actor; diff --git a/src/core/Akka.Remote.TestKit/Player.cs b/src/core/Akka.Remote.TestKit/Player.cs index 34154f94758..2ddb159c7e5 100644 --- a/src/core/Akka.Remote.TestKit/Player.cs +++ b/src/core/Akka.Remote.TestKit/Player.cs @@ -18,7 +18,6 @@ using Akka.Event; using Akka.Pattern; using Akka.Remote.Transport; -using Akka.Util; using Akka.Util.Internal; using DotNetty.Transport.Channels; using Akka.Configuration; diff --git a/src/core/Akka.Remote.TestKit/Properties/AssemblyInfo.cs b/src/core/Akka.Remote.TestKit/Properties/AssemblyInfo.cs index 8425cc92f97..1718cf48dc9 100644 --- a/src/core/Akka.Remote.TestKit/Properties/AssemblyInfo.cs +++ b/src/core/Akka.Remote.TestKit/Properties/AssemblyInfo.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/src/core/Akka.Remote.TestKit/RemoteConnection.cs b/src/core/Akka.Remote.TestKit/RemoteConnection.cs index be9f63bbb0d..2cb052cc645 100644 --- a/src/core/Akka.Remote.TestKit/RemoteConnection.cs +++ b/src/core/Akka.Remote.TestKit/RemoteConnection.cs @@ -6,22 +6,16 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; using System.Linq; using System.Net; -using System.Net.Sockets; using System.Threading.Tasks; using Akka.Remote.TestKit.Proto; -using Akka.Remote.Transport.DotNetty; using DotNetty.Buffers; using DotNetty.Codecs; -using DotNetty.Codecs.Protobuf; -using DotNetty.Common.Internal.Logging; using DotNetty.Common.Utilities; using DotNetty.Transport.Bootstrapping; using DotNetty.Transport.Channels; using DotNetty.Transport.Channels.Sockets; -using Microsoft.Extensions.Logging; namespace Akka.Remote.TestKit { diff --git a/src/core/Akka.Remote.Tests.MultiNode/AttemptSysMsgRedeliverySpec.cs b/src/core/Akka.Remote.Tests.MultiNode/AttemptSysMsgRedeliverySpec.cs index 30bf2230b99..cbed01e1aa3 100644 --- a/src/core/Akka.Remote.Tests.MultiNode/AttemptSysMsgRedeliverySpec.cs +++ b/src/core/Akka.Remote.Tests.MultiNode/AttemptSysMsgRedeliverySpec.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Text.RegularExpressions; using Akka.Actor; using Akka.MultiNode.TestAdapter; using Akka.Remote.TestKit; diff --git a/src/core/Akka.Remote.Tests.MultiNode/LookupRemoteActorMultiNetSpec.cs b/src/core/Akka.Remote.Tests.MultiNode/LookupRemoteActorMultiNetSpec.cs index 848cd6c63fd..c619a2415d3 100644 --- a/src/core/Akka.Remote.Tests.MultiNode/LookupRemoteActorMultiNetSpec.cs +++ b/src/core/Akka.Remote.Tests.MultiNode/LookupRemoteActorMultiNetSpec.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using Akka.Actor; using Akka.MultiNode.TestAdapter; using Akka.Remote.TestKit; diff --git a/src/core/Akka.Remote.Tests.MultiNode/PiercingShouldKeepQuarantineSpec.cs b/src/core/Akka.Remote.Tests.MultiNode/PiercingShouldKeepQuarantineSpec.cs index 6217c67f5c7..ac19b58c544 100644 --- a/src/core/Akka.Remote.Tests.MultiNode/PiercingShouldKeepQuarantineSpec.cs +++ b/src/core/Akka.Remote.Tests.MultiNode/PiercingShouldKeepQuarantineSpec.cs @@ -6,11 +6,7 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using System.Threading; -using System.Threading.Tasks; using Akka.Actor; using Akka.Configuration; using Akka.MultiNode.TestAdapter; diff --git a/src/core/Akka.Remote.Tests.MultiNode/Properties/AssemblyInfo.cs b/src/core/Akka.Remote.Tests.MultiNode/Properties/AssemblyInfo.cs index b85e10b422c..a4c7a7570fc 100644 --- a/src/core/Akka.Remote.Tests.MultiNode/Properties/AssemblyInfo.cs +++ b/src/core/Akka.Remote.Tests.MultiNode/Properties/AssemblyInfo.cs @@ -5,8 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Xunit; diff --git a/src/core/Akka.Remote.Tests.MultiNode/RemoteDeploymentDeathWatchSpec.cs b/src/core/Akka.Remote.Tests.MultiNode/RemoteDeploymentDeathWatchSpec.cs index 8edc779d0dc..53e5b5ba453 100644 --- a/src/core/Akka.Remote.Tests.MultiNode/RemoteDeploymentDeathWatchSpec.cs +++ b/src/core/Akka.Remote.Tests.MultiNode/RemoteDeploymentDeathWatchSpec.cs @@ -13,7 +13,6 @@ using Akka.Remote.TestKit; using Akka.TestKit; using Akka.TestKit.Xunit2; -using Xunit; namespace Akka.Remote.Tests.MultiNode { diff --git a/src/core/Akka.Remote.Tests.MultiNode/RemoteNodeRestartDeathWatchSpec.cs b/src/core/Akka.Remote.Tests.MultiNode/RemoteNodeRestartDeathWatchSpec.cs index 01c0bd03257..21a29451010 100644 --- a/src/core/Akka.Remote.Tests.MultiNode/RemoteNodeRestartDeathWatchSpec.cs +++ b/src/core/Akka.Remote.Tests.MultiNode/RemoteNodeRestartDeathWatchSpec.cs @@ -12,9 +12,6 @@ using Akka.MultiNode.TestAdapter; using Akka.Remote.TestKit; using Akka.Remote.Transport; -using Akka.TestKit; -using Akka.TestKit.Xunit2; -using Akka.Util; using Akka.Util.Internal; namespace Akka.Remote.Tests.MultiNode diff --git a/src/core/Akka.Remote.Tests.MultiNode/RemoteNodeShutdownAndComesBackSpec.cs b/src/core/Akka.Remote.Tests.MultiNode/RemoteNodeShutdownAndComesBackSpec.cs index e23f3944bb0..d04ce331cb8 100644 --- a/src/core/Akka.Remote.Tests.MultiNode/RemoteNodeShutdownAndComesBackSpec.cs +++ b/src/core/Akka.Remote.Tests.MultiNode/RemoteNodeShutdownAndComesBackSpec.cs @@ -7,13 +7,11 @@ using System; using System.Text; -using System.Threading; using Akka.Actor; using Akka.Configuration; using Akka.MultiNode.TestAdapter; using Akka.Remote.TestKit; using Akka.Remote.Transport; -using Akka.TestKit; namespace Akka.Remote.Tests.MultiNode { diff --git a/src/core/Akka.Remote.Tests.MultiNode/RemoteReDeploymentSpec.cs b/src/core/Akka.Remote.Tests.MultiNode/RemoteReDeploymentSpec.cs index 19ff3f6d2ef..ed58114e75c 100644 --- a/src/core/Akka.Remote.Tests.MultiNode/RemoteReDeploymentSpec.cs +++ b/src/core/Akka.Remote.Tests.MultiNode/RemoteReDeploymentSpec.cs @@ -8,7 +8,6 @@ using System; using Akka.Actor; using Akka.Configuration; -using Akka.Event; using Akka.MultiNode.TestAdapter; using Akka.Remote.TestKit; using Akka.Remote.Transport; diff --git a/src/core/Akka.Remote.Tests.MultiNode/RemoteRestartedQuarantinedSpec.cs b/src/core/Akka.Remote.Tests.MultiNode/RemoteRestartedQuarantinedSpec.cs index aaf012b1db5..0e934fedc8d 100644 --- a/src/core/Akka.Remote.Tests.MultiNode/RemoteRestartedQuarantinedSpec.cs +++ b/src/core/Akka.Remote.Tests.MultiNode/RemoteRestartedQuarantinedSpec.cs @@ -11,7 +11,6 @@ using Akka.Configuration; using Akka.MultiNode.TestAdapter; using Akka.Remote.TestKit; -using FluentAssertions; namespace Akka.Remote.Tests.MultiNode { diff --git a/src/core/Akka.Remote.Tests.MultiNode/Router/RemoteRandomSpec.cs b/src/core/Akka.Remote.Tests.MultiNode/Router/RemoteRandomSpec.cs index d27ae3368df..af76ca91090 100644 --- a/src/core/Akka.Remote.Tests.MultiNode/Router/RemoteRandomSpec.cs +++ b/src/core/Akka.Remote.Tests.MultiNode/Router/RemoteRandomSpec.cs @@ -14,7 +14,6 @@ using Akka.Routing; using Akka.Util.Internal; using FluentAssertions; -using Xunit; namespace Akka.Remote.Tests.MultiNode.Router { diff --git a/src/core/Akka.Remote.Tests.MultiNode/Router/RemoteRoundRobinSpec.cs b/src/core/Akka.Remote.Tests.MultiNode/Router/RemoteRoundRobinSpec.cs index 8a0600148e2..cfd4284d3f5 100644 --- a/src/core/Akka.Remote.Tests.MultiNode/Router/RemoteRoundRobinSpec.cs +++ b/src/core/Akka.Remote.Tests.MultiNode/Router/RemoteRoundRobinSpec.cs @@ -16,7 +16,6 @@ using Akka.TestKit; using Akka.Util.Internal; using FluentAssertions; -using Xunit; namespace Akka.Remote.Tests.MultiNode.Router { diff --git a/src/core/Akka.Remote.Tests.MultiNode/Router/RemoteScatterGatherSpec.cs b/src/core/Akka.Remote.Tests.MultiNode/Router/RemoteScatterGatherSpec.cs index 2a409cb01f0..0878d2e2f85 100644 --- a/src/core/Akka.Remote.Tests.MultiNode/Router/RemoteScatterGatherSpec.cs +++ b/src/core/Akka.Remote.Tests.MultiNode/Router/RemoteScatterGatherSpec.cs @@ -13,13 +13,11 @@ using Akka.MultiNode.TestAdapter; using Akka.Remote.TestKit; using Akka.Routing; -using Akka.TestKit; using Akka.TestKit.Internal; using Akka.TestKit.Internal.StringMatcher; using Akka.TestKit.TestEvent; using Akka.Util.Internal; using FluentAssertions; -using Xunit; namespace Akka.Remote.Tests.MultiNode.Router { diff --git a/src/core/Akka.Remote.Tests.MultiNode/TestConductor/TestConductorSpec.cs b/src/core/Akka.Remote.Tests.MultiNode/TestConductor/TestConductorSpec.cs index eaacbb85e9b..4a33a8fc81d 100644 --- a/src/core/Akka.Remote.Tests.MultiNode/TestConductor/TestConductorSpec.cs +++ b/src/core/Akka.Remote.Tests.MultiNode/TestConductor/TestConductorSpec.cs @@ -6,19 +6,13 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; -using System.Collections.Immutable; using System.Linq; -using System.Text; -using System.Threading.Tasks; using Akka.Actor; using Akka.Actor.Dsl; -using Akka.Configuration; using Akka.MultiNode.TestAdapter; using Akka.Remote.TestKit; using Akka.Remote.Transport; using Akka.TestKit; -using Xunit; namespace Akka.Remote.Tests.MultiNode.TestConductor { diff --git a/src/core/Akka.Remote.Tests.MultiNode/TransportFailSpec.cs b/src/core/Akka.Remote.Tests.MultiNode/TransportFailSpec.cs index ee9895bac9c..94b0b13fe47 100644 --- a/src/core/Akka.Remote.Tests.MultiNode/TransportFailSpec.cs +++ b/src/core/Akka.Remote.Tests.MultiNode/TransportFailSpec.cs @@ -13,7 +13,6 @@ using Akka.MultiNode.TestAdapter; using Akka.Remote.TestKit; using Akka.Util; -using Xunit; namespace Akka.Remote.Tests.MultiNode { diff --git a/src/core/Akka.Remote.Tests.Performance/InboundMessageDispatcherSpec.cs b/src/core/Akka.Remote.Tests.Performance/InboundMessageDispatcherSpec.cs index a3374f7a962..3b8755a1541 100644 --- a/src/core/Akka.Remote.Tests.Performance/InboundMessageDispatcherSpec.cs +++ b/src/core/Akka.Remote.Tests.Performance/InboundMessageDispatcherSpec.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System.Threading; using Akka.Actor; using Akka.Configuration; using SerializedMessage = Akka.Remote.Serialization.Proto.Msg.Payload; diff --git a/src/core/Akka.Remote.Tests.Performance/Properties/AssemblyInfo.cs b/src/core/Akka.Remote.Tests.Performance/Properties/AssemblyInfo.cs index 41ccf7b8991..92c9ee91688 100644 --- a/src/core/Akka.Remote.Tests.Performance/Properties/AssemblyInfo.cs +++ b/src/core/Akka.Remote.Tests.Performance/Properties/AssemblyInfo.cs @@ -5,8 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/src/core/Akka.Remote.Tests/ExceptionSupportSpec.cs b/src/core/Akka.Remote.Tests/ExceptionSupportSpec.cs index f27005f5424..a2df8a65ae0 100644 --- a/src/core/Akka.Remote.Tests/ExceptionSupportSpec.cs +++ b/src/core/Akka.Remote.Tests/ExceptionSupportSpec.cs @@ -6,10 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; using Akka.Actor; using Akka.Configuration; using Akka.Dispatch; @@ -17,7 +13,6 @@ using Akka.Pattern; using Akka.Remote.Serialization; using Akka.Remote.Transport; -using Akka.Serialization; using Akka.TestKit; using Xunit; using Xunit.Abstractions; diff --git a/src/core/Akka.Remote.Tests/Properties/AssemblyInfo.cs b/src/core/Akka.Remote.Tests/Properties/AssemblyInfo.cs index b3f830afc43..60b0029cac9 100644 --- a/src/core/Akka.Remote.Tests/Properties/AssemblyInfo.cs +++ b/src/core/Akka.Remote.Tests/Properties/AssemblyInfo.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/src/core/Akka.Remote.Tests/RemoteActorTelemetrySpecs.cs b/src/core/Akka.Remote.Tests/RemoteActorTelemetrySpecs.cs index f292d1ce896..1750f870666 100644 --- a/src/core/Akka.Remote.Tests/RemoteActorTelemetrySpecs.cs +++ b/src/core/Akka.Remote.Tests/RemoteActorTelemetrySpecs.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using System.Threading.Tasks; using Akka.Actor; using Akka.TestKit; diff --git a/src/core/Akka.Remote.Tests/RemoteConsistentHashingRouterSpec.cs b/src/core/Akka.Remote.Tests/RemoteConsistentHashingRouterSpec.cs index af54b9168e1..65958f0035a 100644 --- a/src/core/Akka.Remote.Tests/RemoteConsistentHashingRouterSpec.cs +++ b/src/core/Akka.Remote.Tests/RemoteConsistentHashingRouterSpec.cs @@ -10,7 +10,6 @@ using Akka.Actor; using Akka.Routing; using Akka.TestKit; -using FluentAssertions; using Xunit; namespace Akka.Remote.Tests diff --git a/src/core/Akka.Remote.Tests/RemoteMessageLocalDeliverySpec.cs b/src/core/Akka.Remote.Tests/RemoteMessageLocalDeliverySpec.cs index f68b91d9921..678105090f4 100644 --- a/src/core/Akka.Remote.Tests/RemoteMessageLocalDeliverySpec.cs +++ b/src/core/Akka.Remote.Tests/RemoteMessageLocalDeliverySpec.cs @@ -6,9 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using System.Threading.Tasks; using Akka.Actor; using Akka.Configuration; diff --git a/src/core/Akka.Remote.Tests/RemoteMetricsSpec.cs b/src/core/Akka.Remote.Tests/RemoteMetricsSpec.cs index 44829030938..c2d848fc249 100644 --- a/src/core/Akka.Remote.Tests/RemoteMetricsSpec.cs +++ b/src/core/Akka.Remote.Tests/RemoteMetricsSpec.cs @@ -5,8 +5,6 @@ // //----------------------------------------------------------------------- -using System; -using System.Collections.Generic; using System.Threading.Tasks; using Akka.Actor; using Akka.Configuration; diff --git a/src/core/Akka.Remote.Tests/RemoteWatcherSpec.cs b/src/core/Akka.Remote.Tests/RemoteWatcherSpec.cs index e2fd45cbc6a..b57a4fcdf54 100644 --- a/src/core/Akka.Remote.Tests/RemoteWatcherSpec.cs +++ b/src/core/Akka.Remote.Tests/RemoteWatcherSpec.cs @@ -9,7 +9,6 @@ using System.Threading.Tasks; using Akka.Actor; using Akka.TestKit; -using Akka.TestKit.Extensions; using Akka.Util.Internal; using FluentAssertions.Extensions; using Xunit; diff --git a/src/core/Akka.Remote.Tests/Serialization/BugFix4399Spec.cs b/src/core/Akka.Remote.Tests/Serialization/BugFix4399Spec.cs index 4995c8a0eb0..1f2ef93b3e0 100644 --- a/src/core/Akka.Remote.Tests/Serialization/BugFix4399Spec.cs +++ b/src/core/Akka.Remote.Tests/Serialization/BugFix4399Spec.cs @@ -5,11 +5,8 @@ // //----------------------------------------------------------------------- -using System; using System.Collections.Generic; using System.Linq; -using System.Text; -using System.Threading.Tasks; using Akka.Actor; using Akka.Serialization; using Akka.TestKit; diff --git a/src/core/Akka.Remote.Tests/Serialization/BugFix5062Spec.cs b/src/core/Akka.Remote.Tests/Serialization/BugFix5062Spec.cs index c60a7b45ca1..5193c3f0d1e 100644 --- a/src/core/Akka.Remote.Tests/Serialization/BugFix5062Spec.cs +++ b/src/core/Akka.Remote.Tests/Serialization/BugFix5062Spec.cs @@ -6,19 +6,13 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; using System.Runtime.Serialization; -using System.Text; -using System.Threading.Tasks; using Akka.Actor; using Akka.Configuration; using Akka.Remote.Configuration; using Akka.Serialization; using Akka.TestKit; using FluentAssertions; -using Google.Protobuf; using Xunit; using Xunit.Abstractions; diff --git a/src/core/Akka.Remote.Tests/Serialization/MessageContainerSerializerSpec.cs b/src/core/Akka.Remote.Tests/Serialization/MessageContainerSerializerSpec.cs index cfa6c3b6bf7..cc4f30b63f3 100644 --- a/src/core/Akka.Remote.Tests/Serialization/MessageContainerSerializerSpec.cs +++ b/src/core/Akka.Remote.Tests/Serialization/MessageContainerSerializerSpec.cs @@ -7,7 +7,6 @@ using System.Collections.Generic; using Akka.Actor; -using Akka.Configuration; using Akka.Remote.Configuration; using Akka.Remote.Serialization; using Akka.TestKit; diff --git a/src/core/Akka.Remote.Tests/Serialization/MiscMessageSerializerSpec.cs b/src/core/Akka.Remote.Tests/Serialization/MiscMessageSerializerSpec.cs index 7cb0aaed62d..617f727523e 100644 --- a/src/core/Akka.Remote.Tests/Serialization/MiscMessageSerializerSpec.cs +++ b/src/core/Akka.Remote.Tests/Serialization/MiscMessageSerializerSpec.cs @@ -10,7 +10,6 @@ using System.Runtime.Serialization; using Akka.Actor; using Akka.Configuration; -using Akka.Dispatch; using Akka.Remote.Configuration; using Akka.Remote.Routing; using Akka.Remote.Serialization; diff --git a/src/core/Akka.Remote.Tests/Serialization/PrimitiveSerializersSpec.cs b/src/core/Akka.Remote.Tests/Serialization/PrimitiveSerializersSpec.cs index 03d0c6547a2..6e23ba0e319 100644 --- a/src/core/Akka.Remote.Tests/Serialization/PrimitiveSerializersSpec.cs +++ b/src/core/Akka.Remote.Tests/Serialization/PrimitiveSerializersSpec.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using Akka.Configuration; using Akka.Remote.Configuration; using Akka.Remote.Serialization; using Akka.Serialization; diff --git a/src/core/Akka.Remote.Tests/Serialization/ProtobufSerializerSpec.cs b/src/core/Akka.Remote.Tests/Serialization/ProtobufSerializerSpec.cs index b568d1fcc92..2b458f00cf6 100644 --- a/src/core/Akka.Remote.Tests/Serialization/ProtobufSerializerSpec.cs +++ b/src/core/Akka.Remote.Tests/Serialization/ProtobufSerializerSpec.cs @@ -5,9 +5,6 @@ // //----------------------------------------------------------------------- -using System; -using Akka.Actor; -using Akka.Configuration; using Akka.Remote.Configuration; using Akka.Remote.Serialization; using Akka.Remote.Serialization.Proto.Msg; diff --git a/src/core/Akka.Remote.Tests/Serialization/SerializationTransportInformationSpec.cs b/src/core/Akka.Remote.Tests/Serialization/SerializationTransportInformationSpec.cs index cdf808318d6..29d46f4fd64 100644 --- a/src/core/Akka.Remote.Tests/Serialization/SerializationTransportInformationSpec.cs +++ b/src/core/Akka.Remote.Tests/Serialization/SerializationTransportInformationSpec.cs @@ -6,8 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; -using System.Linq; using System.Text; using System.Threading.Tasks; using Akka.Actor; @@ -15,7 +13,6 @@ using Akka.Configuration; using Akka.Serialization; using Akka.TestKit; -using Akka.TestKit.TestActors; using FluentAssertions; using Akka.Util.Internal; using Xunit; diff --git a/src/core/Akka.Remote.Tests/Serialization/SystemMessageSerializationSpec.cs b/src/core/Akka.Remote.Tests/Serialization/SystemMessageSerializationSpec.cs index 8b43b10d36e..9edc3faaa20 100644 --- a/src/core/Akka.Remote.Tests/Serialization/SystemMessageSerializationSpec.cs +++ b/src/core/Akka.Remote.Tests/Serialization/SystemMessageSerializationSpec.cs @@ -7,7 +7,6 @@ using System; using Akka.Actor; -using Akka.Configuration; using Akka.Dispatch.SysMsg; using Akka.Remote.Configuration; using Akka.Remote.Serialization; diff --git a/src/core/Akka.Remote.Tests/Transport/DotNettyBatchWriterSpecs.cs b/src/core/Akka.Remote.Tests/Transport/DotNettyBatchWriterSpecs.cs index a74e85044cb..3c424b009e2 100644 --- a/src/core/Akka.Remote.Tests/Transport/DotNettyBatchWriterSpecs.cs +++ b/src/core/Akka.Remote.Tests/Transport/DotNettyBatchWriterSpecs.cs @@ -6,9 +6,7 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; using System.Linq; -using System.Text; using System.Threading.Tasks; using Akka.Configuration; using Akka.Remote.Transport.DotNetty; diff --git a/src/core/Akka.Remote.Tests/Transport/DotNettySslSupportSpec.cs b/src/core/Akka.Remote.Tests/Transport/DotNettySslSupportSpec.cs index 86a972557fa..ff58f621f19 100644 --- a/src/core/Akka.Remote.Tests/Transport/DotNettySslSupportSpec.cs +++ b/src/core/Akka.Remote.Tests/Transport/DotNettySslSupportSpec.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Linq; using System.Security.Cryptography; using System.Security.Cryptography.X509Certificates; using System.Threading.Tasks; @@ -14,7 +13,6 @@ using Akka.Configuration; using Akka.TestKit; using Akka.TestKit.Xunit2.Attributes; -using FluentAssertions; using Xunit; using Xunit.Abstractions; using static Akka.Util.RuntimeDetector; diff --git a/src/core/Akka.Remote.Tests/Transport/DotNettyTransportShutdownSpec.cs b/src/core/Akka.Remote.Tests/Transport/DotNettyTransportShutdownSpec.cs index c90ae36ff29..7adebb47307 100644 --- a/src/core/Akka.Remote.Tests/Transport/DotNettyTransportShutdownSpec.cs +++ b/src/core/Akka.Remote.Tests/Transport/DotNettyTransportShutdownSpec.cs @@ -6,9 +6,7 @@ //----------------------------------------------------------------------- using System.Linq; -using System.Text; using System.Threading.Tasks; -using Akka.Actor; using Akka.Configuration; using Akka.Remote.Transport; using Akka.Remote.Transport.DotNetty; diff --git a/src/core/Akka.Remote/Configuration/RemoteConfigFactory.cs b/src/core/Akka.Remote/Configuration/RemoteConfigFactory.cs index bceac5035bb..4626b3a7c18 100644 --- a/src/core/Akka.Remote/Configuration/RemoteConfigFactory.cs +++ b/src/core/Akka.Remote/Configuration/RemoteConfigFactory.cs @@ -7,7 +7,6 @@ using System.Diagnostics; using System.IO; -using System.Reflection; using Akka.Configuration; namespace Akka.Remote.Configuration diff --git a/src/core/Akka.Remote/DefaultFailureDetectorRegistry.cs b/src/core/Akka.Remote/DefaultFailureDetectorRegistry.cs index 8a8b945e90e..71da80b3b2c 100644 --- a/src/core/Akka.Remote/DefaultFailureDetectorRegistry.cs +++ b/src/core/Akka.Remote/DefaultFailureDetectorRegistry.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; using System.Collections.Immutable; using Akka.Util; diff --git a/src/core/Akka.Remote/Endpoint.cs b/src/core/Akka.Remote/Endpoint.cs index eac24ca5a5a..0af87360ab7 100644 --- a/src/core/Akka.Remote/Endpoint.cs +++ b/src/core/Akka.Remote/Endpoint.cs @@ -8,18 +8,14 @@ using System; using System.Collections.Concurrent; using System.Collections.Generic; -using System.Diagnostics; using System.Linq; using System.Runtime.Serialization; using System.Text; -using System.Threading; using System.Threading.Tasks; using Akka.Actor; -using Akka.Dispatch; using Akka.Dispatch.SysMsg; using Akka.Event; using Akka.Pattern; -using Akka.Remote.Serialization; using Akka.Remote.Transport; using Akka.Serialization; using Akka.Util; diff --git a/src/core/Akka.Remote/EndpointRegistry.cs b/src/core/Akka.Remote/EndpointRegistry.cs index 9f4254b5a4f..7e1ea5b9343 100644 --- a/src/core/Akka.Remote/EndpointRegistry.cs +++ b/src/core/Akka.Remote/EndpointRegistry.cs @@ -9,7 +9,6 @@ using System.Collections.Generic; using System.Linq; using Akka.Actor; -using Akka.Util.Internal; namespace Akka.Remote { diff --git a/src/core/Akka.Remote/FailureDetector.cs b/src/core/Akka.Remote/FailureDetector.cs index 9a404fa9d42..1b950131db3 100644 --- a/src/core/Akka.Remote/FailureDetector.cs +++ b/src/core/Akka.Remote/FailureDetector.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using Akka.Util; namespace Akka.Remote diff --git a/src/core/Akka.Remote/MessageSerializer.cs b/src/core/Akka.Remote/MessageSerializer.cs index b7f2372c527..d4688ad2f93 100644 --- a/src/core/Akka.Remote/MessageSerializer.cs +++ b/src/core/Akka.Remote/MessageSerializer.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using Akka.Actor; using Akka.Serialization; using Akka.Util; diff --git a/src/core/Akka.Remote/Properties/AssemblyInfo.cs b/src/core/Akka.Remote/Properties/AssemblyInfo.cs index a3ebc7eca95..b1d07f7b80e 100644 --- a/src/core/Akka.Remote/Properties/AssemblyInfo.cs +++ b/src/core/Akka.Remote/Properties/AssemblyInfo.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/src/core/Akka.Remote/RemoteDeployer.cs b/src/core/Akka.Remote/RemoteDeployer.cs index 3b4f1945923..99002e3fe5a 100644 --- a/src/core/Akka.Remote/RemoteDeployer.cs +++ b/src/core/Akka.Remote/RemoteDeployer.cs @@ -6,12 +6,10 @@ //----------------------------------------------------------------------- using System.Linq; -using System.Collections.Generic; using Akka.Actor; using Akka.Configuration; using Akka.Remote.Routing; using Akka.Routing; -using Akka.Util.Internal; namespace Akka.Remote { diff --git a/src/core/Akka.Remote/Serialization/ActorPathCache.cs b/src/core/Akka.Remote/Serialization/ActorPathCache.cs index c39300619c8..e830f4f4dc0 100644 --- a/src/core/Akka.Remote/Serialization/ActorPathCache.cs +++ b/src/core/Akka.Remote/Serialization/ActorPathCache.cs @@ -8,7 +8,6 @@ using System; using Akka.Actor; using System.Threading; -using System.Collections.Generic; namespace Akka.Remote.Serialization { diff --git a/src/core/Akka.Remote/Serialization/ActorRefResolveCache.cs b/src/core/Akka.Remote/Serialization/ActorRefResolveCache.cs index 3e647081036..59756a2f15b 100644 --- a/src/core/Akka.Remote/Serialization/ActorRefResolveCache.cs +++ b/src/core/Akka.Remote/Serialization/ActorRefResolveCache.cs @@ -5,10 +5,8 @@ // //----------------------------------------------------------------------- -using System.Collections.Generic; using System.Threading; using Akka.Actor; -using Akka.Util.Internal; namespace Akka.Remote.Serialization { diff --git a/src/core/Akka.Remote/Serialization/AddressCache.cs b/src/core/Akka.Remote/Serialization/AddressCache.cs index 9b42aa40e59..8ad81775daa 100644 --- a/src/core/Akka.Remote/Serialization/AddressCache.cs +++ b/src/core/Akka.Remote/Serialization/AddressCache.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using System.Threading; using Akka.Actor; diff --git a/src/core/Akka.Remote/Serialization/SystemMessageSerializer.cs b/src/core/Akka.Remote/Serialization/SystemMessageSerializer.cs index 43a97913684..feda302772c 100644 --- a/src/core/Akka.Remote/Serialization/SystemMessageSerializer.cs +++ b/src/core/Akka.Remote/Serialization/SystemMessageSerializer.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Text; using Akka.Actor; using Akka.Dispatch.SysMsg; using Akka.Serialization; diff --git a/src/core/Akka.Remote/Transport/FailureInjectorTransportAdapter.cs b/src/core/Akka.Remote/Transport/FailureInjectorTransportAdapter.cs index ea547666335..e1572fd76ac 100644 --- a/src/core/Akka.Remote/Transport/FailureInjectorTransportAdapter.cs +++ b/src/core/Akka.Remote/Transport/FailureInjectorTransportAdapter.cs @@ -11,7 +11,6 @@ using Akka.Actor; using Akka.Event; using Akka.Util; -using Akka.Util.Internal; using Google.Protobuf; using System.Runtime.Serialization; diff --git a/src/core/Akka.Remote/Transport/ThrottleTransportAdapter.cs b/src/core/Akka.Remote/Transport/ThrottleTransportAdapter.cs index fbfc3d6f25d..35a65a57fe9 100644 --- a/src/core/Akka.Remote/Transport/ThrottleTransportAdapter.cs +++ b/src/core/Akka.Remote/Transport/ThrottleTransportAdapter.cs @@ -11,7 +11,6 @@ using System.Threading.Tasks; using Akka.Actor; using Akka.Dispatch.SysMsg; -using Akka.Remote.Serialization; using Akka.Util; using Akka.Util.Internal; using Google.Protobuf; diff --git a/src/core/Akka.Streams.TestKit.Tests/Properties/AssemblyInfo.cs b/src/core/Akka.Streams.TestKit.Tests/Properties/AssemblyInfo.cs index 1c068030a7c..42ef4372a84 100644 --- a/src/core/Akka.Streams.TestKit.Tests/Properties/AssemblyInfo.cs +++ b/src/core/Akka.Streams.TestKit.Tests/Properties/AssemblyInfo.cs @@ -5,8 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/src/core/Akka.Streams.TestKit/Properties/AssemblyInfo.cs b/src/core/Akka.Streams.TestKit/Properties/AssemblyInfo.cs index 80f8c7a39e4..2a243c61bee 100644 --- a/src/core/Akka.Streams.TestKit/Properties/AssemblyInfo.cs +++ b/src/core/Akka.Streams.TestKit/Properties/AssemblyInfo.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/src/core/Akka.Streams.TestKit/TestSubscriber.cs b/src/core/Akka.Streams.TestKit/TestSubscriber.cs index 87840deeb15..8b4a122562c 100644 --- a/src/core/Akka.Streams.TestKit/TestSubscriber.cs +++ b/src/core/Akka.Streams.TestKit/TestSubscriber.cs @@ -8,7 +8,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; using Akka.Actor; diff --git a/src/core/Akka.Streams.Tests.Performance/MaterializationBenchmark.cs b/src/core/Akka.Streams.Tests.Performance/MaterializationBenchmark.cs index fbd2a50dace..3172c0fb97f 100644 --- a/src/core/Akka.Streams.Tests.Performance/MaterializationBenchmark.cs +++ b/src/core/Akka.Streams.Tests.Performance/MaterializationBenchmark.cs @@ -7,7 +7,6 @@ using System; using Akka.Actor; -using Akka.Configuration; using Akka.Streams.Dsl; using Akka.Streams.TestKit; using NBench; diff --git a/src/core/Akka.Streams.Tests.Performance/MergeManyBenchmark.cs b/src/core/Akka.Streams.Tests.Performance/MergeManyBenchmark.cs index 4b7b5cc2664..3ba88d19c93 100644 --- a/src/core/Akka.Streams.Tests.Performance/MergeManyBenchmark.cs +++ b/src/core/Akka.Streams.Tests.Performance/MergeManyBenchmark.cs @@ -8,7 +8,6 @@ using System; using System.Threading.Tasks; using Akka.Actor; -using Akka.Configuration; using Akka.Streams.Dsl; using Akka.Streams.TestKit; using NBench; diff --git a/src/core/Akka.Streams.Tests.Performance/Properties/AssemblyInfo.cs b/src/core/Akka.Streams.Tests.Performance/Properties/AssemblyInfo.cs index 2f3ff398d9c..c5e1d3f5df5 100644 --- a/src/core/Akka.Streams.Tests.Performance/Properties/AssemblyInfo.cs +++ b/src/core/Akka.Streams.Tests.Performance/Properties/AssemblyInfo.cs @@ -5,8 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/src/core/Akka.Streams.Tests.TCK/AkkaSubscriberVerification.cs b/src/core/Akka.Streams.Tests.TCK/AkkaSubscriberVerification.cs index 133597f6393..b54492e76df 100644 --- a/src/core/Akka.Streams.Tests.TCK/AkkaSubscriberVerification.cs +++ b/src/core/Akka.Streams.Tests.TCK/AkkaSubscriberVerification.cs @@ -7,7 +7,6 @@ using System; using Akka.Actor; -using Akka.Configuration; using Akka.Streams.TestKit; using Akka.TestKit; using Akka.TestKit.Internal; diff --git a/src/core/Akka.Streams.Tests.TCK/Properties/AssemblyInfo.cs b/src/core/Akka.Streams.Tests.TCK/Properties/AssemblyInfo.cs index a6e2924c425..8f557d1a38e 100644 --- a/src/core/Akka.Streams.Tests.TCK/Properties/AssemblyInfo.cs +++ b/src/core/Akka.Streams.Tests.TCK/Properties/AssemblyInfo.cs @@ -5,8 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/src/core/Akka.Streams.Tests/Actor/ActorPublisherSpec.cs b/src/core/Akka.Streams.Tests/Actor/ActorPublisherSpec.cs index d7159b6723e..6223004a33b 100644 --- a/src/core/Akka.Streams.Tests/Actor/ActorPublisherSpec.cs +++ b/src/core/Akka.Streams.Tests/Actor/ActorPublisherSpec.cs @@ -9,7 +9,6 @@ using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; -using System.Threading; using System.Threading.Tasks; using Akka.Actor; using Akka.Configuration; diff --git a/src/core/Akka.Streams.Tests/Bugfix4421Spec.cs b/src/core/Akka.Streams.Tests/Bugfix4421Spec.cs index ecd0d11eeb3..ea205ea0f52 100644 --- a/src/core/Akka.Streams.Tests/Bugfix4421Spec.cs +++ b/src/core/Akka.Streams.Tests/Bugfix4421Spec.cs @@ -6,16 +6,12 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; using System.Linq; -using System.Text; using System.Threading.Tasks; using Akka.Actor; -using Akka.Remote; using Akka.Streams.Dsl; using Akka.TestKit; -using Akka.Util.Internal; using Xunit; using Xunit.Abstractions; using FluentAssertions; diff --git a/src/core/Akka.Streams.Tests/Dsl/ActorRefBackpressureSinkSpec.cs b/src/core/Akka.Streams.Tests/Dsl/ActorRefBackpressureSinkSpec.cs index a3fe45c4fc5..efc8a39ec85 100644 --- a/src/core/Akka.Streams.Tests/Dsl/ActorRefBackpressureSinkSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/ActorRefBackpressureSinkSpec.cs @@ -9,7 +9,6 @@ using System.Linq; using System.Threading.Tasks; using Akka.Actor; -using Akka.Configuration; using Akka.Streams.Dsl; using Akka.Streams.TestKit; using Akka.TestKit; diff --git a/src/core/Akka.Streams.Tests/Dsl/ActorRefSinkSpec.cs b/src/core/Akka.Streams.Tests/Dsl/ActorRefSinkSpec.cs index 7a711bc03d2..467b4ddac01 100644 --- a/src/core/Akka.Streams.Tests/Dsl/ActorRefSinkSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/ActorRefSinkSpec.cs @@ -7,7 +7,6 @@ using System; using Akka.Actor; -using Akka.Configuration; using Akka.Streams.Dsl; using Akka.Streams.TestKit; using Akka.TestKit; diff --git a/src/core/Akka.Streams.Tests/Dsl/ActorRefSourceSpec.cs b/src/core/Akka.Streams.Tests/Dsl/ActorRefSourceSpec.cs index dd5cb69193b..03547cdc401 100644 --- a/src/core/Akka.Streams.Tests/Dsl/ActorRefSourceSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/ActorRefSourceSpec.cs @@ -7,13 +7,11 @@ using System; using System.Linq; -using System.Threading; using System.Threading.Tasks; using Akka.Actor; using Akka.Streams.Dsl; using Akka.Streams.TestKit; using Akka.TestKit; -using Akka.Util.Internal; using FluentAssertions; using Xunit; // ReSharper disable InvokeAsExtensionMethod diff --git a/src/core/Akka.Streams.Tests/Dsl/AttributesSpec.cs b/src/core/Akka.Streams.Tests/Dsl/AttributesSpec.cs index e45143a254a..28d20e77816 100644 --- a/src/core/Akka.Streams.Tests/Dsl/AttributesSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/AttributesSpec.cs @@ -5,11 +5,9 @@ // //----------------------------------------------------------------------- -using System; using System.Threading.Tasks; using Akka.Streams.Dsl; using Akka.Streams.Implementation; -using Akka.Streams.TestKit; using Akka.TestKit; using Akka.TestKit.Extensions; using FluentAssertions; diff --git a/src/core/Akka.Streams.Tests/Dsl/FlowAskSpec.cs b/src/core/Akka.Streams.Tests/Dsl/FlowAskSpec.cs index e4a0766e34d..143e9d95119 100644 --- a/src/core/Akka.Streams.Tests/Dsl/FlowAskSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/FlowAskSpec.cs @@ -16,7 +16,6 @@ using Akka.TestKit; using Akka.TestKit.Extensions; using Akka.TestKit.TestActors; -using Akka.TestKit.Xunit2.Attributes; using Akka.Util; using FluentAssertions; using FluentAssertions.Extensions; diff --git a/src/core/Akka.Streams.Tests/Dsl/FlowConcatSpec.cs b/src/core/Akka.Streams.Tests/Dsl/FlowConcatSpec.cs index f84731330e1..9a4230c80a2 100644 --- a/src/core/Akka.Streams.Tests/Dsl/FlowConcatSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/FlowConcatSpec.cs @@ -11,7 +11,6 @@ using System.Threading.Tasks; using Akka.Streams.Dsl; using Akka.Streams.TestKit; -using Akka.Util.Internal; using FluentAssertions; using Reactive.Streams; using Xunit; diff --git a/src/core/Akka.Streams.Tests/Dsl/FlowDelaySpec.cs b/src/core/Akka.Streams.Tests/Dsl/FlowDelaySpec.cs index 23f13b84692..a75adfb9aba 100644 --- a/src/core/Akka.Streams.Tests/Dsl/FlowDelaySpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/FlowDelaySpec.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Runtime.CompilerServices; @@ -16,9 +15,7 @@ using Akka.Streams.Dsl; using Akka.Streams.TestKit; using Akka.TestKit; -using Akka.TestKit.Extensions; using Akka.TestKit.Xunit2.Attributes; -using Akka.Tests.Shared.Internals; using Akka.Util.Internal; using FluentAssertions; using FluentAssertions.Extensions; diff --git a/src/core/Akka.Streams.Tests/Dsl/FlowGroupedSpec.cs b/src/core/Akka.Streams.Tests/Dsl/FlowGroupedSpec.cs index 5edd2113f0b..5be5c161d81 100644 --- a/src/core/Akka.Streams.Tests/Dsl/FlowGroupedSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/FlowGroupedSpec.cs @@ -10,7 +10,6 @@ using System.Linq; using System.Threading.Tasks; using Akka.Streams.Dsl; -using Akka.Streams.TestKit; using Akka.Util.Internal; using Xunit; using Xunit.Abstractions; diff --git a/src/core/Akka.Streams.Tests/Dsl/FlowInterleaveSpec.cs b/src/core/Akka.Streams.Tests/Dsl/FlowInterleaveSpec.cs index 453c1590910..95edaa6db36 100644 --- a/src/core/Akka.Streams.Tests/Dsl/FlowInterleaveSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/FlowInterleaveSpec.cs @@ -8,7 +8,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Threading; using System.Threading.Tasks; using Akka.Streams.Dsl; using Akka.Streams.TestKit; diff --git a/src/core/Akka.Streams.Tests/Dsl/FlowKillSwitchSpec.cs b/src/core/Akka.Streams.Tests/Dsl/FlowKillSwitchSpec.cs index 3904c32dc7c..998f2f87ccd 100644 --- a/src/core/Akka.Streams.Tests/Dsl/FlowKillSwitchSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/FlowKillSwitchSpec.cs @@ -12,7 +12,6 @@ using System.Threading.Tasks; using Akka.Streams.Dsl; using Akka.Streams.TestKit; -using Akka.Streams.Util; using Akka.TestKit; using Akka.Util; using FluentAssertions; diff --git a/src/core/Akka.Streams.Tests/Dsl/FlowMergeSpec.cs b/src/core/Akka.Streams.Tests/Dsl/FlowMergeSpec.cs index 30f6862938b..ccb9a4e8a62 100644 --- a/src/core/Akka.Streams.Tests/Dsl/FlowMergeSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/FlowMergeSpec.cs @@ -11,7 +11,6 @@ using System.Threading.Tasks; using Akka.Streams.Dsl; using Akka.Streams.TestKit; -using Akka.Util.Internal; using FluentAssertions; using Reactive.Streams; using Xunit; diff --git a/src/core/Akka.Streams.Tests/Dsl/FlowRecoverSpec.cs b/src/core/Akka.Streams.Tests/Dsl/FlowRecoverSpec.cs index d7da80c4333..1583a8cb21c 100644 --- a/src/core/Akka.Streams.Tests/Dsl/FlowRecoverSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/FlowRecoverSpec.cs @@ -6,11 +6,9 @@ //----------------------------------------------------------------------- using System.Linq; -using System.Threading; using System.Threading.Tasks; using Akka.Streams.Dsl; using Akka.Streams.TestKit; -using Akka.Streams.Util; using Akka.TestKit; using Akka.Util; using FluentAssertions; diff --git a/src/core/Akka.Streams.Tests/Dsl/FlowRecoverWithSpec.cs b/src/core/Akka.Streams.Tests/Dsl/FlowRecoverWithSpec.cs index 7a20207d1ed..e030ab40a67 100644 --- a/src/core/Akka.Streams.Tests/Dsl/FlowRecoverWithSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/FlowRecoverWithSpec.cs @@ -7,7 +7,6 @@ using System; using System.Linq; -using System.Threading; using System.Threading.Tasks; using Akka.Streams.Dsl; using Akka.Streams.Stage; diff --git a/src/core/Akka.Streams.Tests/Dsl/FlowScanAsyncSpec.cs b/src/core/Akka.Streams.Tests/Dsl/FlowScanAsyncSpec.cs index 3b99aad4b68..436bf6cc014 100644 --- a/src/core/Akka.Streams.Tests/Dsl/FlowScanAsyncSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/FlowScanAsyncSpec.cs @@ -8,7 +8,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Threading; using System.Threading.Tasks; using Akka.Streams.Dsl; using Akka.Streams.Implementation; diff --git a/src/core/Akka.Streams.Tests/Dsl/FlowSelectManySpec.cs b/src/core/Akka.Streams.Tests/Dsl/FlowSelectManySpec.cs index 01bc36a8618..48bb1fbb9b0 100644 --- a/src/core/Akka.Streams.Tests/Dsl/FlowSelectManySpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/FlowSelectManySpec.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; diff --git a/src/core/Akka.Streams.Tests/Dsl/FlowSelectSpec.cs b/src/core/Akka.Streams.Tests/Dsl/FlowSelectSpec.cs index 7f2e9d7b806..b9e0dd40231 100644 --- a/src/core/Akka.Streams.Tests/Dsl/FlowSelectSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/FlowSelectSpec.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/src/core/Akka.Streams.Tests/Dsl/FlowSkipWhileSpec.cs b/src/core/Akka.Streams.Tests/Dsl/FlowSkipWhileSpec.cs index adc85d0f21d..7f1bb42b615 100644 --- a/src/core/Akka.Streams.Tests/Dsl/FlowSkipWhileSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/FlowSkipWhileSpec.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System.Linq; -using System.Threading; using System.Threading.Tasks; using Akka.Streams.Dsl; using Akka.Streams.Supervision; diff --git a/src/core/Akka.Streams.Tests/Dsl/FlowSplitAfterSpec.cs b/src/core/Akka.Streams.Tests/Dsl/FlowSplitAfterSpec.cs index 8d411784514..780394eed7f 100644 --- a/src/core/Akka.Streams.Tests/Dsl/FlowSplitAfterSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/FlowSplitAfterSpec.cs @@ -10,7 +10,6 @@ using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; -using System.Threading; using System.Threading.Tasks; using Akka.Streams.Dsl; using Akka.Streams.Implementation; diff --git a/src/core/Akka.Streams.Tests/Dsl/FlowStatefulSelectManySpec.cs b/src/core/Akka.Streams.Tests/Dsl/FlowStatefulSelectManySpec.cs index e576e81b19d..938cf4fad86 100644 --- a/src/core/Akka.Streams.Tests/Dsl/FlowStatefulSelectManySpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/FlowStatefulSelectManySpec.cs @@ -8,11 +8,9 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Threading; using Akka.Streams.Dsl; using Akka.Streams.Supervision; using Akka.Streams.TestKit; -using Akka.Util.Internal; using Xunit; using static Akka.Streams.Tests.Dsl.TestConfig; diff --git a/src/core/Akka.Streams.Tests/Dsl/FlowTakeSpec.cs b/src/core/Akka.Streams.Tests/Dsl/FlowTakeSpec.cs index 7fb425c00bb..70e35116f60 100644 --- a/src/core/Akka.Streams.Tests/Dsl/FlowTakeSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/FlowTakeSpec.cs @@ -8,12 +8,10 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Threading.Tasks; using Akka.Streams.Actors; using Akka.Streams.Dsl; using Akka.Streams.Implementation; using Akka.Streams.TestKit; -using Akka.Util.Internal; using FluentAssertions; using Xunit; using Xunit.Abstractions; diff --git a/src/core/Akka.Streams.Tests/Dsl/FlowTakeWhileSpec.cs b/src/core/Akka.Streams.Tests/Dsl/FlowTakeWhileSpec.cs index 3ba5012bb02..6d2767b4197 100644 --- a/src/core/Akka.Streams.Tests/Dsl/FlowTakeWhileSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/FlowTakeWhileSpec.cs @@ -7,7 +7,6 @@ using System; using System.Linq; -using System.Threading; using System.Threading.Tasks; using Akka.Streams.Dsl; using Akka.Streams.Supervision; diff --git a/src/core/Akka.Streams.Tests/Dsl/FlowTakeWithinSpec.cs b/src/core/Akka.Streams.Tests/Dsl/FlowTakeWithinSpec.cs index 48aee4da80b..a7d0f49548b 100644 --- a/src/core/Akka.Streams.Tests/Dsl/FlowTakeWithinSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/FlowTakeWithinSpec.cs @@ -11,7 +11,6 @@ using Akka.Streams.Dsl; using Akka.Streams.TestKit; using Akka.TestKit; -using Akka.Util.Internal; using Xunit; using Xunit.Abstractions; diff --git a/src/core/Akka.Streams.Tests/Dsl/FlowThrottleSpec.cs b/src/core/Akka.Streams.Tests/Dsl/FlowThrottleSpec.cs index 2dcec1432b8..e3d064f8316 100644 --- a/src/core/Akka.Streams.Tests/Dsl/FlowThrottleSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/FlowThrottleSpec.cs @@ -8,7 +8,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Threading; using System.Threading.Tasks; using Akka.IO; using Akka.Streams.Actors; @@ -18,7 +17,6 @@ using Akka.TestKit; using Akka.TestKit.Extensions; using Akka.TestKit.Xunit2.Attributes; -using Akka.Util.Internal; using FluentAssertions; using FluentAssertions.Extensions; using Xunit; diff --git a/src/core/Akka.Streams.Tests/Dsl/FlowWatchTerminationSpec.cs b/src/core/Akka.Streams.Tests/Dsl/FlowWatchTerminationSpec.cs index b413935c6e6..81bcfc7353b 100644 --- a/src/core/Akka.Streams.Tests/Dsl/FlowWatchTerminationSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/FlowWatchTerminationSpec.cs @@ -7,7 +7,6 @@ using System; using System.Linq; -using System.Threading; using System.Threading.Tasks; using Akka.Streams.Dsl; using Akka.Streams.TestKit; diff --git a/src/core/Akka.Streams.Tests/Dsl/FlowWhereSpec.cs b/src/core/Akka.Streams.Tests/Dsl/FlowWhereSpec.cs index adc5bcfee8b..25bad6c18e5 100644 --- a/src/core/Akka.Streams.Tests/Dsl/FlowWhereSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/FlowWhereSpec.cs @@ -8,12 +8,10 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Threading; using System.Threading.Tasks; using Akka.Streams.Dsl; using Akka.Streams.Supervision; using Akka.Streams.TestKit; -using Akka.Util.Internal; using Xunit; using Xunit.Abstractions; using static Akka.Streams.Tests.Dsl.TestConfig; diff --git a/src/core/Akka.Streams.Tests/Dsl/FlowWithContextSpec.cs b/src/core/Akka.Streams.Tests/Dsl/FlowWithContextSpec.cs index 2e58dc86b61..b9daaa942df 100644 --- a/src/core/Akka.Streams.Tests/Dsl/FlowWithContextSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/FlowWithContextSpec.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Linq; using Akka.Streams.Dsl; using Akka.Streams.TestKit; using Akka.TestKit; diff --git a/src/core/Akka.Streams.Tests/Dsl/FlowZipSpec.cs b/src/core/Akka.Streams.Tests/Dsl/FlowZipSpec.cs index b9d262abfa3..cfa4420b3ae 100644 --- a/src/core/Akka.Streams.Tests/Dsl/FlowZipSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/FlowZipSpec.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using System.Linq; using System.Threading.Tasks; using Akka.Streams.Dsl; diff --git a/src/core/Akka.Streams.Tests/Dsl/FlowZipWithIndexSpec.cs b/src/core/Akka.Streams.Tests/Dsl/FlowZipWithIndexSpec.cs index 27f6e2bcb40..45f57231a79 100644 --- a/src/core/Akka.Streams.Tests/Dsl/FlowZipWithIndexSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/FlowZipWithIndexSpec.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using System.Linq; using Akka.Streams.Dsl; using Akka.Streams.TestKit; diff --git a/src/core/Akka.Streams.Tests/Dsl/FramingSpec.cs b/src/core/Akka.Streams.Tests/Dsl/FramingSpec.cs index 0162713889e..5d01a901d77 100644 --- a/src/core/Akka.Streams.Tests/Dsl/FramingSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/FramingSpec.cs @@ -16,7 +16,6 @@ using Akka.Streams.Dsl; using Akka.Streams.Implementation.Fusing; using Akka.Streams.Stage; -using Akka.Streams.TestKit; using Akka.TestKit; using Akka.Util; using FluentAssertions; diff --git a/src/core/Akka.Streams.Tests/Dsl/FutureFlattenSourceSpec.cs b/src/core/Akka.Streams.Tests/Dsl/FutureFlattenSourceSpec.cs index 5fedd9085db..18615b857a5 100644 --- a/src/core/Akka.Streams.Tests/Dsl/FutureFlattenSourceSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/FutureFlattenSourceSpec.cs @@ -19,7 +19,6 @@ using FluentAssertions.Extensions; using Xunit; using Xunit.Abstractions; -using static FluentAssertions.FluentActions; namespace Akka.Streams.Tests.Dsl { diff --git a/src/core/Akka.Streams.Tests/Dsl/GraphBackedFlowSpec.cs b/src/core/Akka.Streams.Tests/Dsl/GraphBackedFlowSpec.cs index 01ee9b9f6f8..b6351fe5f10 100644 --- a/src/core/Akka.Streams.Tests/Dsl/GraphBackedFlowSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/GraphBackedFlowSpec.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using System.Collections.Generic; using System.Linq; using Akka.Streams.Dsl; diff --git a/src/core/Akka.Streams.Tests/Dsl/GraphBalanceSpec.cs b/src/core/Akka.Streams.Tests/Dsl/GraphBalanceSpec.cs index 4524959f3ea..bd10c7116ce 100644 --- a/src/core/Akka.Streams.Tests/Dsl/GraphBalanceSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/GraphBalanceSpec.cs @@ -8,7 +8,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Threading; using System.Threading.Tasks; using Akka.Streams.Dsl; using Akka.Streams.TestKit; diff --git a/src/core/Akka.Streams.Tests/Dsl/GraphBroadcastSpec.cs b/src/core/Akka.Streams.Tests/Dsl/GraphBroadcastSpec.cs index 2ee13376ac7..1751e91e8f6 100644 --- a/src/core/Akka.Streams.Tests/Dsl/GraphBroadcastSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/GraphBroadcastSpec.cs @@ -8,7 +8,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Threading; using System.Threading.Tasks; using Akka.Streams.Dsl; using Akka.Streams.TestKit; diff --git a/src/core/Akka.Streams.Tests/Dsl/GraphConcatSpec.cs b/src/core/Akka.Streams.Tests/Dsl/GraphConcatSpec.cs index b7a617f005d..e04e9b52e2e 100644 --- a/src/core/Akka.Streams.Tests/Dsl/GraphConcatSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/GraphConcatSpec.cs @@ -7,7 +7,6 @@ using System.Collections.Generic; using System.Linq; -using System.Threading; using System.Threading.Tasks; using Akka.Streams.Dsl; using Akka.Streams.TestKit; diff --git a/src/core/Akka.Streams.Tests/Dsl/GraphMergePreferredSpec.cs b/src/core/Akka.Streams.Tests/Dsl/GraphMergePreferredSpec.cs index bb5bb02f372..95ce3f955fb 100644 --- a/src/core/Akka.Streams.Tests/Dsl/GraphMergePreferredSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/GraphMergePreferredSpec.cs @@ -10,7 +10,6 @@ using System.Linq; using System.Threading.Tasks; using Akka.Streams.Dsl; -using Akka.Streams.TestKit; using Akka.TestKit; using FluentAssertions; using Xunit; diff --git a/src/core/Akka.Streams.Tests/Dsl/GraphMergeSortedSpec.cs b/src/core/Akka.Streams.Tests/Dsl/GraphMergeSortedSpec.cs index 9dd616df092..14d93083f49 100644 --- a/src/core/Akka.Streams.Tests/Dsl/GraphMergeSortedSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/GraphMergeSortedSpec.cs @@ -9,7 +9,6 @@ using System.Collections.Generic; using System.Linq; using Akka.Streams.Dsl; -using Akka.Streams.TestKit; using FluentAssertions; using Xunit; using Akka.TestKit.Extensions; diff --git a/src/core/Akka.Streams.Tests/Dsl/GraphMergeSpec.cs b/src/core/Akka.Streams.Tests/Dsl/GraphMergeSpec.cs index e71ea57e278..807be46e9eb 100644 --- a/src/core/Akka.Streams.Tests/Dsl/GraphMergeSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/GraphMergeSpec.cs @@ -8,7 +8,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Threading; using System.Threading.Tasks; using Akka.Streams.Dsl; using Akka.Streams.TestKit; diff --git a/src/core/Akka.Streams.Tests/Dsl/GraphOpsIntegrationSpec.cs b/src/core/Akka.Streams.Tests/Dsl/GraphOpsIntegrationSpec.cs index 1e62c51d475..04edb0c67c8 100644 --- a/src/core/Akka.Streams.Tests/Dsl/GraphOpsIntegrationSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/GraphOpsIntegrationSpec.cs @@ -9,7 +9,6 @@ using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; -using System.Threading; using System.Threading.Tasks; using Akka.Streams.Dsl; using Akka.Streams.TestKit; diff --git a/src/core/Akka.Streams.Tests/Dsl/GraphPartitionSpec.cs b/src/core/Akka.Streams.Tests/Dsl/GraphPartitionSpec.cs index e52ac359282..cadef9d86dd 100644 --- a/src/core/Akka.Streams.Tests/Dsl/GraphPartitionSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/GraphPartitionSpec.cs @@ -8,7 +8,6 @@ using System; using System.Collections.Immutable; using System.Linq; -using System.Threading; using System.Threading.Tasks; using Akka.Streams.Dsl; using Akka.Streams.TestKit; diff --git a/src/core/Akka.Streams.Tests/Dsl/GraphStageTimersSpec.cs b/src/core/Akka.Streams.Tests/Dsl/GraphStageTimersSpec.cs index 94921f412e4..0e6ca6e786a 100644 --- a/src/core/Akka.Streams.Tests/Dsl/GraphStageTimersSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/GraphStageTimersSpec.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Threading; using System.Threading.Tasks; using Akka.Actor; using Akka.Streams.Dsl; diff --git a/src/core/Akka.Streams.Tests/Dsl/GraphUnzipSpec.cs b/src/core/Akka.Streams.Tests/Dsl/GraphUnzipSpec.cs index 3ef1cf35c83..a9407977ff7 100644 --- a/src/core/Akka.Streams.Tests/Dsl/GraphUnzipSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/GraphUnzipSpec.cs @@ -7,7 +7,6 @@ using System; using System.Collections.Generic; -using System.Threading; using System.Threading.Tasks; using Akka.Streams.Dsl; using Akka.Streams.TestKit; diff --git a/src/core/Akka.Streams.Tests/Dsl/GraphUnzipWithSpec.cs b/src/core/Akka.Streams.Tests/Dsl/GraphUnzipWithSpec.cs index 026a24a67fa..75373fc53b7 100644 --- a/src/core/Akka.Streams.Tests/Dsl/GraphUnzipWithSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/GraphUnzipWithSpec.cs @@ -8,7 +8,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Threading; using System.Threading.Tasks; using Akka.Actor; using Akka.Streams.Dsl; diff --git a/src/core/Akka.Streams.Tests/Dsl/GraphWireTapSpec.cs b/src/core/Akka.Streams.Tests/Dsl/GraphWireTapSpec.cs index 84d09dbcd28..8020952d594 100644 --- a/src/core/Akka.Streams.Tests/Dsl/GraphWireTapSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/GraphWireTapSpec.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System.Linq; -using System.Threading; using System.Threading.Tasks; using Akka.Streams.Dsl; using Akka.Streams.TestKit; diff --git a/src/core/Akka.Streams.Tests/Dsl/GraphZipWithSpec.cs b/src/core/Akka.Streams.Tests/Dsl/GraphZipWithSpec.cs index b8e681632ec..0e13c5e5978 100644 --- a/src/core/Akka.Streams.Tests/Dsl/GraphZipWithSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/GraphZipWithSpec.cs @@ -7,7 +7,6 @@ using System; using System.Linq; -using System.Threading; using System.Threading.Tasks; using Akka.Streams.Dsl; using Akka.Streams.TestKit; diff --git a/src/core/Akka.Streams.Tests/Dsl/HubSpec.cs b/src/core/Akka.Streams.Tests/Dsl/HubSpec.cs index 86be24e03cd..57a1472c44b 100644 --- a/src/core/Akka.Streams.Tests/Dsl/HubSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/HubSpec.cs @@ -16,8 +16,6 @@ using FluentAssertions; using Xunit; using Akka.Actor; -using Akka.Streams.Dsl.Internal; -using Akka.Streams.Tests.Actor; using Akka.TestKit.Extensions; using Akka.TestKit.Xunit2.Attributes; using Akka.Util.Internal; diff --git a/src/core/Akka.Streams.Tests/Dsl/JsonFramingSpec.cs b/src/core/Akka.Streams.Tests/Dsl/JsonFramingSpec.cs index 1cfcf01d42c..d527340f759 100644 --- a/src/core/Akka.Streams.Tests/Dsl/JsonFramingSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/JsonFramingSpec.cs @@ -13,7 +13,6 @@ using Akka.Streams.Dsl; using Akka.Streams.Implementation; using Akka.Streams.TestKit; -using Akka.Streams.Util; using Akka.TestKit; using Akka.Util; using Akka.Util.Internal; @@ -23,7 +22,6 @@ using Xunit.Abstractions; using System.Threading.Tasks; using FluentAssertions.Extensions; -using Akka.Streams.Tests.Actor; namespace Akka.Streams.Tests.Dsl { diff --git a/src/core/Akka.Streams.Tests/Dsl/LastElementSpec.cs b/src/core/Akka.Streams.Tests/Dsl/LastElementSpec.cs index 8e8945e5812..bafbf4767a4 100644 --- a/src/core/Akka.Streams.Tests/Dsl/LastElementSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/LastElementSpec.cs @@ -10,7 +10,6 @@ using System.Threading.Tasks; using Akka.Streams.Dsl; using Akka.Streams.TestKit; -using Akka.Streams.Util; using Akka.TestKit.Extensions; using Akka.Util; using FluentAssertions; diff --git a/src/core/Akka.Streams.Tests/Dsl/LastSinkSpec.cs b/src/core/Akka.Streams.Tests/Dsl/LastSinkSpec.cs index 477ae8323d7..bb814fff025 100644 --- a/src/core/Akka.Streams.Tests/Dsl/LastSinkSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/LastSinkSpec.cs @@ -15,7 +15,6 @@ using FluentAssertions.Extensions; using Xunit; using Xunit.Abstractions; -using static FluentAssertions.FluentActions; namespace Akka.Streams.Tests.Dsl { diff --git a/src/core/Akka.Streams.Tests/Dsl/LazyFlowSpec.cs b/src/core/Akka.Streams.Tests/Dsl/LazyFlowSpec.cs index b17e107c4e2..7343a2d7f3f 100644 --- a/src/core/Akka.Streams.Tests/Dsl/LazyFlowSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/LazyFlowSpec.cs @@ -11,7 +11,6 @@ using Akka.Streams.Dsl; using Akka.Streams.TestKit; using Akka.TestKit; -using Akka.Util.Internal; using FluentAssertions; using Xunit; using Xunit.Abstractions; diff --git a/src/core/Akka.Streams.Tests/Dsl/LazySinkSpec.cs b/src/core/Akka.Streams.Tests/Dsl/LazySinkSpec.cs index ba18fd5cafd..331de794892 100644 --- a/src/core/Akka.Streams.Tests/Dsl/LazySinkSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/LazySinkSpec.cs @@ -14,7 +14,6 @@ using Akka.Streams.TestKit; using Akka.TestKit; using Akka.Util; -using Akka.Util.Internal; using FluentAssertions; using Akka.TestKit.Extensions; using Xunit; diff --git a/src/core/Akka.Streams.Tests/Dsl/MaybeSourceSpec.cs b/src/core/Akka.Streams.Tests/Dsl/MaybeSourceSpec.cs index d380c0d6e11..960d11ec09a 100644 --- a/src/core/Akka.Streams.Tests/Dsl/MaybeSourceSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/MaybeSourceSpec.cs @@ -8,8 +8,6 @@ using System; using System.Threading.Tasks; using Akka.Streams.Dsl; -using Akka.Streams.Implementation; -using Akka.Streams.Implementation.Fusing; using Akka.Streams.TestKit; using Akka.TestKit; using FluentAssertions; diff --git a/src/core/Akka.Streams.Tests/Dsl/ObservableSourceSpec.cs b/src/core/Akka.Streams.Tests/Dsl/ObservableSourceSpec.cs index d326824784c..f86916a1faf 100644 --- a/src/core/Akka.Streams.Tests/Dsl/ObservableSourceSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/ObservableSourceSpec.cs @@ -7,7 +7,6 @@ using System; using System.Runtime.CompilerServices; -using System.Threading; using System.Threading.Tasks; using Akka.Streams.Dsl; using Akka.Streams.TestKit; diff --git a/src/core/Akka.Streams.Tests/Dsl/PagedSourceSpec.cs b/src/core/Akka.Streams.Tests/Dsl/PagedSourceSpec.cs index d2585641861..8db8ddd828a 100644 --- a/src/core/Akka.Streams.Tests/Dsl/PagedSourceSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/PagedSourceSpec.cs @@ -5,13 +5,10 @@ // //----------------------------------------------------------------------- -using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Akka.Streams.Dsl; -using Akka.Streams.TestKit; -using Akka.Streams.Util; using Akka.TestKit.Extensions; using Akka.Util; using FluentAssertions; diff --git a/src/core/Akka.Streams.Tests/Dsl/PartitionWithSpec.cs b/src/core/Akka.Streams.Tests/Dsl/PartitionWithSpec.cs index d3414a89266..80150c2299f 100644 --- a/src/core/Akka.Streams.Tests/Dsl/PartitionWithSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/PartitionWithSpec.cs @@ -6,8 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Linq; -using System.Threading; using Akka.Streams.Dsl; using Akka.Streams.TestKit; using Akka.Util; diff --git a/src/core/Akka.Streams.Tests/Dsl/QueueSinkSpec.cs b/src/core/Akka.Streams.Tests/Dsl/QueueSinkSpec.cs index 90c249e1a8e..b6cbe1022e2 100644 --- a/src/core/Akka.Streams.Tests/Dsl/QueueSinkSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/QueueSinkSpec.cs @@ -13,7 +13,6 @@ using Akka.Pattern; using Akka.Streams.Dsl; using Akka.Streams.TestKit; -using Akka.Streams.Util; using Akka.TestKit; using Akka.Util; using FluentAssertions; diff --git a/src/core/Akka.Streams.Tests/Dsl/RestartSpec.cs b/src/core/Akka.Streams.Tests/Dsl/RestartSpec.cs index 8cdb1306b05..06919dbc07a 100644 --- a/src/core/Akka.Streams.Tests/Dsl/RestartSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/RestartSpec.cs @@ -7,7 +7,6 @@ using System; using System.Collections.Generic; -using System.Collections.Immutable; using System.Linq; using System.Threading; using System.Threading.Tasks; @@ -17,7 +16,6 @@ using Akka.TestKit; using Akka.TestKit.Extensions; using Akka.TestKit.Xunit2.Attributes; -using Akka.Tests.Shared.Internals; using Akka.Util.Internal; using FluentAssertions; using FluentAssertions.Extensions; diff --git a/src/core/Akka.Streams.Tests/Dsl/RetrySpec.cs b/src/core/Akka.Streams.Tests/Dsl/RetrySpec.cs index 241ff2a8b44..46661272010 100644 --- a/src/core/Akka.Streams.Tests/Dsl/RetrySpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/RetrySpec.cs @@ -11,7 +11,6 @@ using Akka.Pattern; using Akka.Streams.Dsl; using Akka.Streams.TestKit; -using Akka.Streams.Util; using Akka.Util; using FluentAssertions; using Xunit; diff --git a/src/core/Akka.Streams.Tests/Dsl/ReverseArrowSpec.cs b/src/core/Akka.Streams.Tests/Dsl/ReverseArrowSpec.cs index 1df6d11bed1..bbacbdab288 100644 --- a/src/core/Akka.Streams.Tests/Dsl/ReverseArrowSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/ReverseArrowSpec.cs @@ -8,7 +8,6 @@ using System; using System.Collections.Immutable; using System.Linq; -using System.Threading; using System.Threading.Tasks; using Akka.Streams.Dsl; using Akka.Streams.TestKit; diff --git a/src/core/Akka.Streams.Tests/Dsl/SampleSpec.cs b/src/core/Akka.Streams.Tests/Dsl/SampleSpec.cs index d4dd62c52ba..b0c300979f8 100644 --- a/src/core/Akka.Streams.Tests/Dsl/SampleSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/SampleSpec.cs @@ -8,7 +8,6 @@ using System; using System.Linq; using Akka.Streams.Dsl; -using Akka.Streams.TestKit; using FluentAssertions; using Akka.TestKit.Extensions; using Xunit; diff --git a/src/core/Akka.Streams.Tests/Dsl/SinkForeachParallelSpec.cs b/src/core/Akka.Streams.Tests/Dsl/SinkForeachParallelSpec.cs index b9d9a7d7769..f6514349d9c 100644 --- a/src/core/Akka.Streams.Tests/Dsl/SinkForeachParallelSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/SinkForeachParallelSpec.cs @@ -16,7 +16,6 @@ using Xunit; using Xunit.Abstractions; using System.Collections.Generic; -using System.Threading; using Akka.Streams.TestKit; using Akka.TestKit.Xunit2.Attributes; using System.Threading.Tasks; diff --git a/src/core/Akka.Streams.Tests/Dsl/SinkSpec.cs b/src/core/Akka.Streams.Tests/Dsl/SinkSpec.cs index 32e04b1dd9c..fe22d056551 100644 --- a/src/core/Akka.Streams.Tests/Dsl/SinkSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/SinkSpec.cs @@ -7,7 +7,6 @@ using System; using System.Linq; -using System.Threading; using Akka.Streams.Dsl; using Akka.Streams.TestKit; using Akka.TestKit; diff --git a/src/core/Akka.Streams.Tests/Dsl/SourceSpec.cs b/src/core/Akka.Streams.Tests/Dsl/SourceSpec.cs index f1532191925..271c04d4294 100644 --- a/src/core/Akka.Streams.Tests/Dsl/SourceSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/SourceSpec.cs @@ -12,7 +12,6 @@ using System.Threading.Tasks; using Akka.Streams.Dsl; using Akka.Streams.TestKit; -using Akka.Streams.Util; using Akka.TestKit.Extensions; using Akka.TestKit; using Akka.Util; diff --git a/src/core/Akka.Streams.Tests/Dsl/StreamRefsSerializerSpec.cs b/src/core/Akka.Streams.Tests/Dsl/StreamRefsSerializerSpec.cs index 21a377dc015..43816acf669 100644 --- a/src/core/Akka.Streams.Tests/Dsl/StreamRefsSerializerSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/StreamRefsSerializerSpec.cs @@ -6,12 +6,9 @@ //----------------------------------------------------------------------- using System; -using System.Linq; -using System.Threading.Tasks; using Akka.Actor; using Akka.Actor.Internal; using Akka.Configuration; -using Akka.Event; using Akka.Streams.Dsl; using Akka.Streams.TestKit; using Akka.TestKit; diff --git a/src/core/Akka.Streams.Tests/Dsl/StreamRefsSpec.cs b/src/core/Akka.Streams.Tests/Dsl/StreamRefsSpec.cs index b11e61a662a..fc4c321c387 100644 --- a/src/core/Akka.Streams.Tests/Dsl/StreamRefsSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/StreamRefsSpec.cs @@ -16,7 +16,6 @@ using System; using System.Linq; using System.Threading; -using System.Threading.Tasks; using Akka.TestKit.Xunit2.Attributes; using FluentAssertions.Extensions; using Xunit; diff --git a/src/core/Akka.Streams.Tests/Dsl/SubstreamSubscriptionTimeoutSpec.cs b/src/core/Akka.Streams.Tests/Dsl/SubstreamSubscriptionTimeoutSpec.cs index ac7d5190986..199e2766590 100644 --- a/src/core/Akka.Streams.Tests/Dsl/SubstreamSubscriptionTimeoutSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/SubstreamSubscriptionTimeoutSpec.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Threading; using System.Threading.Tasks; using Akka.Streams.Dsl; using Akka.Streams.Implementation; diff --git a/src/core/Akka.Streams.Tests/Dsl/UnfoldFlowSpec.cs b/src/core/Akka.Streams.Tests/Dsl/UnfoldFlowSpec.cs index 8df96044680..6e68f5e8dcc 100644 --- a/src/core/Akka.Streams.Tests/Dsl/UnfoldFlowSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/UnfoldFlowSpec.cs @@ -8,7 +8,6 @@ using System; using Akka.Streams.Dsl; using Akka.Streams.TestKit; -using Akka.Streams.Util; using Akka.TestKit.Xunit2.Attributes; using Akka.Util; using FluentAssertions; diff --git a/src/core/Akka.Streams.Tests/Dsl/UnfoldResourceAsyncSourceSpec.cs b/src/core/Akka.Streams.Tests/Dsl/UnfoldResourceAsyncSourceSpec.cs index c2f4ad27aaa..572b15f6966 100644 --- a/src/core/Akka.Streams.Tests/Dsl/UnfoldResourceAsyncSourceSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/UnfoldResourceAsyncSourceSpec.cs @@ -10,7 +10,6 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Akka.Actor; using Akka.Pattern; using Akka.Streams.Dsl; using Akka.Streams.Implementation; diff --git a/src/core/Akka.Streams.Tests/Dsl/ValveSpec.cs b/src/core/Akka.Streams.Tests/Dsl/ValveSpec.cs index f77eefb9438..cfb4fe85c80 100644 --- a/src/core/Akka.Streams.Tests/Dsl/ValveSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/ValveSpec.cs @@ -7,7 +7,6 @@ using System; using System.Linq; -using System.Threading; using System.Threading.Tasks; using Akka.Streams.Dsl; using Akka.Streams.TestKit; diff --git a/src/core/Akka.Streams.Tests/Dsl/WithContextUsageSpec.cs b/src/core/Akka.Streams.Tests/Dsl/WithContextUsageSpec.cs index 044a6507411..1e46e2f3dac 100644 --- a/src/core/Akka.Streams.Tests/Dsl/WithContextUsageSpec.cs +++ b/src/core/Akka.Streams.Tests/Dsl/WithContextUsageSpec.cs @@ -7,7 +7,6 @@ using System; using System.Collections.Generic; -using System.Collections.Immutable; using System.Linq; using Akka.Streams.Dsl; using Akka.Streams.TestKit; diff --git a/src/core/Akka.Streams.Tests/IO/FileSinkSpec.cs b/src/core/Akka.Streams.Tests/IO/FileSinkSpec.cs index 4bab68295b5..49b33fc51e9 100644 --- a/src/core/Akka.Streams.Tests/IO/FileSinkSpec.cs +++ b/src/core/Akka.Streams.Tests/IO/FileSinkSpec.cs @@ -9,7 +9,6 @@ using System.Collections.Generic; using System.IO; using System.Linq; -using System.Threading; using System.Threading.Tasks; using Akka.Actor; using Akka.IO; @@ -24,7 +23,6 @@ using FluentAssertions; using Xunit; using Xunit.Abstractions; -using FluentAssertions.Extensions; namespace Akka.Streams.Tests.IO { diff --git a/src/core/Akka.Streams.Tests/IO/FileSourceSpec.cs b/src/core/Akka.Streams.Tests/IO/FileSourceSpec.cs index 7ddf04f59dd..2ed98f0bc7e 100644 --- a/src/core/Akka.Streams.Tests/IO/FileSourceSpec.cs +++ b/src/core/Akka.Streams.Tests/IO/FileSourceSpec.cs @@ -17,10 +17,8 @@ using Akka.IO; using Akka.Streams.Dsl; using Akka.Streams.Implementation; -using Akka.Streams.Implementation.Stages; using Akka.Streams.TestKit; using Akka.TestKit; -using Akka.Util.Internal; using FluentAssertions; using Xunit; using Xunit.Abstractions; diff --git a/src/core/Akka.Streams.Tests/IO/TcpSpec.cs b/src/core/Akka.Streams.Tests/IO/TcpSpec.cs index 7f04041d250..c6541107d71 100644 --- a/src/core/Akka.Streams.Tests/IO/TcpSpec.cs +++ b/src/core/Akka.Streams.Tests/IO/TcpSpec.cs @@ -9,7 +9,6 @@ using System.Linq; using System.Net; using System.Net.Sockets; -using System.Threading; using System.Threading.Tasks; using Akka.Actor; using Akka.IO; diff --git a/src/core/Akka.Streams.Tests/Implementation/DistinctRetainingMultiReaderBufferSpec.cs b/src/core/Akka.Streams.Tests/Implementation/DistinctRetainingMultiReaderBufferSpec.cs index b8e625d4368..1d05e607dfa 100644 --- a/src/core/Akka.Streams.Tests/Implementation/DistinctRetainingMultiReaderBufferSpec.cs +++ b/src/core/Akka.Streams.Tests/Implementation/DistinctRetainingMultiReaderBufferSpec.cs @@ -9,7 +9,6 @@ using System.Collections.Generic; using System.Linq; using System.Text; -using System.Threading.Tasks; using Akka.Streams.Implementation; using FluentAssertions; using FluentAssertions.Execution; diff --git a/src/core/Akka.Streams.Tests/Implementation/Fusing/ActorGraphInterpreterSpec.cs b/src/core/Akka.Streams.Tests/Implementation/Fusing/ActorGraphInterpreterSpec.cs index 2211f7b3096..e4cc6f126e6 100644 --- a/src/core/Akka.Streams.Tests/Implementation/Fusing/ActorGraphInterpreterSpec.cs +++ b/src/core/Akka.Streams.Tests/Implementation/Fusing/ActorGraphInterpreterSpec.cs @@ -23,7 +23,6 @@ using Reactive.Streams; using Xunit; using Xunit.Abstractions; -using Akka.Streams.Tests.Actor; using System.Threading.Tasks; namespace Akka.Streams.Tests.Implementation.Fusing diff --git a/src/core/Akka.Streams.Tests/Implementation/Fusing/GraphInterpreterSpec.cs b/src/core/Akka.Streams.Tests/Implementation/Fusing/GraphInterpreterSpec.cs index 23d390ba548..5d8524b07d5 100644 --- a/src/core/Akka.Streams.Tests/Implementation/Fusing/GraphInterpreterSpec.cs +++ b/src/core/Akka.Streams.Tests/Implementation/Fusing/GraphInterpreterSpec.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using Akka.Streams.Dsl; using Akka.Streams.Implementation.Fusing; using Akka.Streams.Stage; diff --git a/src/core/Akka.Streams.Tests/Implementation/Fusing/InterpreterSpec.cs b/src/core/Akka.Streams.Tests/Implementation/Fusing/InterpreterSpec.cs index 03501ad52bd..9281023adaa 100644 --- a/src/core/Akka.Streams.Tests/Implementation/Fusing/InterpreterSpec.cs +++ b/src/core/Akka.Streams.Tests/Implementation/Fusing/InterpreterSpec.cs @@ -10,7 +10,6 @@ using System.Text.RegularExpressions; using Akka.Streams.Implementation.Fusing; using Akka.Streams.Stage; -using Akka.Streams.Supervision; using Akka.Streams.TestKit; using FluentAssertions; using Xunit; diff --git a/src/core/Akka.Streams.Tests/Implementation/Fusing/InterpreterStressSpec.cs b/src/core/Akka.Streams.Tests/Implementation/Fusing/InterpreterStressSpec.cs index d59fe182e57..ce808bad795 100644 --- a/src/core/Akka.Streams.Tests/Implementation/Fusing/InterpreterStressSpec.cs +++ b/src/core/Akka.Streams.Tests/Implementation/Fusing/InterpreterStressSpec.cs @@ -9,7 +9,6 @@ using System.Linq; using Akka.Streams.Implementation.Fusing; using Akka.Streams.Stage; -using Akka.Streams.Supervision; using FluentAssertions; using Xunit; using Xunit.Abstractions; diff --git a/src/core/Akka.Streams.Tests/Implementation/Fusing/LifecycleInterpreterSpec.cs b/src/core/Akka.Streams.Tests/Implementation/Fusing/LifecycleInterpreterSpec.cs index 6fe27cac344..5ca860f681b 100644 --- a/src/core/Akka.Streams.Tests/Implementation/Fusing/LifecycleInterpreterSpec.cs +++ b/src/core/Akka.Streams.Tests/Implementation/Fusing/LifecycleInterpreterSpec.cs @@ -10,7 +10,6 @@ using Akka.Actor; using Akka.Streams.Implementation.Fusing; using Akka.Streams.Stage; -using Akka.Streams.Supervision; using Akka.Streams.TestKit; using FluentAssertions; using Xunit; diff --git a/src/core/Akka.Streams.Tests/Implementation/GraphStageLogicSpec.cs b/src/core/Akka.Streams.Tests/Implementation/GraphStageLogicSpec.cs index ed23ca7efad..739ea6c7788 100644 --- a/src/core/Akka.Streams.Tests/Implementation/GraphStageLogicSpec.cs +++ b/src/core/Akka.Streams.Tests/Implementation/GraphStageLogicSpec.cs @@ -7,7 +7,6 @@ using System; using System.Linq; -using System.Threading; using System.Threading.Tasks; using Akka.Actor; using Akka.Configuration; diff --git a/src/core/Akka.Streams.Tests/Implementation/RetainingMultiReaderBufferSpec.cs b/src/core/Akka.Streams.Tests/Implementation/RetainingMultiReaderBufferSpec.cs index a8601636c58..90c4fe029fc 100644 --- a/src/core/Akka.Streams.Tests/Implementation/RetainingMultiReaderBufferSpec.cs +++ b/src/core/Akka.Streams.Tests/Implementation/RetainingMultiReaderBufferSpec.cs @@ -9,7 +9,6 @@ using System.Collections.Generic; using System.Linq; using System.Text; -using System.Threading.Tasks; using Akka.Streams.Implementation; using FluentAssertions; using FluentAssertions.Execution; diff --git a/src/core/Akka.Streams.Tests/Implementation/StreamLayoutSpec.cs b/src/core/Akka.Streams.Tests/Implementation/StreamLayoutSpec.cs index 3097fed8f99..5310901fef8 100644 --- a/src/core/Akka.Streams.Tests/Implementation/StreamLayoutSpec.cs +++ b/src/core/Akka.Streams.Tests/Implementation/StreamLayoutSpec.cs @@ -11,7 +11,6 @@ using System.Linq; using Akka.Streams.Dsl; using Akka.Streams.Implementation; -using Akka.Streams.TestKit; using FluentAssertions; using Reactive.Streams; using Akka.TestKit.Extensions; diff --git a/src/core/Akka.Streams.Tests/Properties/AssemblyInfo.cs b/src/core/Akka.Streams.Tests/Properties/AssemblyInfo.cs index a0a65cd1133..b3f48896d29 100644 --- a/src/core/Akka.Streams.Tests/Properties/AssemblyInfo.cs +++ b/src/core/Akka.Streams.Tests/Properties/AssemblyInfo.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/src/core/Akka.Streams.Tests/StreamDispatcherSpec.cs b/src/core/Akka.Streams.Tests/StreamDispatcherSpec.cs index 939de2162f4..0fc19e5e9b3 100644 --- a/src/core/Akka.Streams.Tests/StreamDispatcherSpec.cs +++ b/src/core/Akka.Streams.Tests/StreamDispatcherSpec.cs @@ -5,11 +5,6 @@ // //----------------------------------------------------------------------- -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; using Akka.Dispatch; using Akka.TestKit; using Xunit; diff --git a/src/core/Akka.Streams/ActorMaterializer.cs b/src/core/Akka.Streams/ActorMaterializer.cs index 20b77c9ed66..d0769d9f35d 100644 --- a/src/core/Akka.Streams/ActorMaterializer.cs +++ b/src/core/Akka.Streams/ActorMaterializer.cs @@ -6,9 +6,7 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Concurrent; using System.Runtime.Serialization; -using System.Threading.Tasks; using Akka.Actor; using Akka.Configuration; using Akka.Dispatch; diff --git a/src/core/Akka.Streams/CodeGen/FanOutShape.cs b/src/core/Akka.Streams/CodeGen/FanOutShape.cs index efceb9a78b5..9a92e1b1560 100644 --- a/src/core/Akka.Streams/CodeGen/FanOutShape.cs +++ b/src/core/Akka.Streams/CodeGen/FanOutShape.cs @@ -5,9 +5,6 @@ // //----------------------------------------------------------------------- -using System; -using System.Linq; - namespace Akka.Streams { /// diff --git a/src/core/Akka.Streams/Dsl/AccumulateWhileUnchanged.cs b/src/core/Akka.Streams/Dsl/AccumulateWhileUnchanged.cs index 112ca3a22f3..084d08b27e0 100644 --- a/src/core/Akka.Streams/Dsl/AccumulateWhileUnchanged.cs +++ b/src/core/Akka.Streams/Dsl/AccumulateWhileUnchanged.cs @@ -9,7 +9,6 @@ using System.Collections.Generic; using System.Linq; using Akka.Streams.Stage; -using Akka.Streams.Util; using Akka.Util; namespace Akka.Streams.Dsl diff --git a/src/core/Akka.Streams/Dsl/Flow.cs b/src/core/Akka.Streams/Dsl/Flow.cs index 2be898fc5f6..ffd2c86e834 100644 --- a/src/core/Akka.Streams/Dsl/Flow.cs +++ b/src/core/Akka.Streams/Dsl/Flow.cs @@ -14,7 +14,6 @@ using Akka.Streams.Dsl.Internal; using Akka.Streams.Implementation; using Akka.Streams.Implementation.Fusing; -using Akka.Streams.Implementation.Stages; using Akka.Util; using Reactive.Streams; diff --git a/src/core/Akka.Streams/Dsl/FlowOperations.cs b/src/core/Akka.Streams/Dsl/FlowOperations.cs index 2f5cbd9c618..f3c0fad668e 100644 --- a/src/core/Akka.Streams/Dsl/FlowOperations.cs +++ b/src/core/Akka.Streams/Dsl/FlowOperations.cs @@ -14,7 +14,6 @@ using Akka.IO; using Akka.Streams.Dsl.Internal; using Akka.Streams.Stage; -using Akka.Streams.Util; using Akka.Util; // ReSharper disable UnusedMember.Global diff --git a/src/core/Akka.Streams/Dsl/Framing.cs b/src/core/Akka.Streams/Dsl/Framing.cs index 465b7ef14ac..8aa19d1ae44 100644 --- a/src/core/Akka.Streams/Dsl/Framing.cs +++ b/src/core/Akka.Streams/Dsl/Framing.cs @@ -13,7 +13,6 @@ using Akka.Streams.Implementation.Stages; using Akka.Streams.Stage; using Akka.Util; -using Akka.Util.Internal.Collections; namespace Akka.Streams.Dsl { diff --git a/src/core/Akka.Streams/Dsl/Internal/GraphImpl.cs b/src/core/Akka.Streams/Dsl/Internal/GraphImpl.cs index 73654438443..eb9b225c1f7 100644 --- a/src/core/Akka.Streams/Dsl/Internal/GraphImpl.cs +++ b/src/core/Akka.Streams/Dsl/Internal/GraphImpl.cs @@ -7,7 +7,6 @@ using Akka.Annotations; using Akka.Streams.Implementation; -using Akka.Streams.Util; using Akka.Util; namespace Akka.Streams.Dsl.Internal diff --git a/src/core/Akka.Streams/Dsl/Internal/InternalFlowOperations.cs b/src/core/Akka.Streams/Dsl/Internal/InternalFlowOperations.cs index 7000d6470be..e779909e7b8 100644 --- a/src/core/Akka.Streams/Dsl/Internal/InternalFlowOperations.cs +++ b/src/core/Akka.Streams/Dsl/Internal/InternalFlowOperations.cs @@ -8,7 +8,6 @@ using System; using System.Collections.Generic; using System.Collections.Immutable; -using System.Linq; using System.Threading.Tasks; using Akka.Actor; using Akka.Event; @@ -16,7 +15,6 @@ using Akka.Streams.Implementation; using Akka.Streams.Implementation.Stages; using Akka.Streams.Stage; -using Akka.Streams.Util; using Akka.Util; namespace Akka.Streams.Dsl.Internal diff --git a/src/core/Akka.Streams/Dsl/LastElement.cs b/src/core/Akka.Streams/Dsl/LastElement.cs index ec5980a8914..353b1446b13 100644 --- a/src/core/Akka.Streams/Dsl/LastElement.cs +++ b/src/core/Akka.Streams/Dsl/LastElement.cs @@ -7,7 +7,6 @@ using System.Threading.Tasks; using Akka.Streams.Stage; -using Akka.Streams.Util; using Akka.Util; namespace Akka.Streams.Dsl diff --git a/src/core/Akka.Streams/Dsl/PagedSource.cs b/src/core/Akka.Streams/Dsl/PagedSource.cs index a126c721802..1746fed8a34 100644 --- a/src/core/Akka.Streams/Dsl/PagedSource.cs +++ b/src/core/Akka.Streams/Dsl/PagedSource.cs @@ -10,7 +10,6 @@ using System.Linq; using System.Threading.Tasks; using Akka.Annotations; -using Akka.Streams.Util; using Akka.Util; namespace Akka.Streams.Dsl diff --git a/src/core/Akka.Streams/Dsl/Retry.cs b/src/core/Akka.Streams/Dsl/Retry.cs index f22185af098..dd30b5fbd49 100644 --- a/src/core/Akka.Streams/Dsl/Retry.cs +++ b/src/core/Akka.Streams/Dsl/Retry.cs @@ -11,7 +11,6 @@ using Akka.Annotations; using Akka.Pattern; using Akka.Streams.Stage; -using Akka.Streams.Util; using Akka.Util; namespace Akka.Streams.Dsl diff --git a/src/core/Akka.Streams/Dsl/Source.cs b/src/core/Akka.Streams/Dsl/Source.cs index e60b768ba79..d572943915d 100644 --- a/src/core/Akka.Streams/Dsl/Source.cs +++ b/src/core/Akka.Streams/Dsl/Source.cs @@ -9,7 +9,6 @@ using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; -using System.Reflection; using System.Runtime.ExceptionServices; using System.Threading.Channels; using System.Threading.Tasks; diff --git a/src/core/Akka.Streams/Dsl/SourceGen.cs b/src/core/Akka.Streams/Dsl/SourceGen.cs index f9bafb7b01f..f7b85512805 100644 --- a/src/core/Akka.Streams/Dsl/SourceGen.cs +++ b/src/core/Akka.Streams/Dsl/SourceGen.cs @@ -8,7 +8,6 @@ using System; using Akka.Annotations; using Akka.Streams.Stage; -using Akka.Streams.Util; using Akka.Util; namespace Akka.Streams.Dsl diff --git a/src/core/Akka.Streams/Dsl/SourceOperations.cs b/src/core/Akka.Streams/Dsl/SourceOperations.cs index 7ceed16caae..f33c4affd67 100644 --- a/src/core/Akka.Streams/Dsl/SourceOperations.cs +++ b/src/core/Akka.Streams/Dsl/SourceOperations.cs @@ -14,7 +14,6 @@ using Akka.IO; using Akka.Streams.Dsl.Internal; using Akka.Streams.Stage; -using Akka.Streams.Util; using Akka.Util; // ReSharper disable UnusedMember.Global diff --git a/src/core/Akka.Streams/Fusing.cs b/src/core/Akka.Streams/Fusing.cs index 5b7fb415e22..43683e0b7f6 100644 --- a/src/core/Akka.Streams/Fusing.cs +++ b/src/core/Akka.Streams/Fusing.cs @@ -6,9 +6,7 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Immutable; using Akka.Streams.Implementation; -using Akka.Streams.Implementation.Fusing; using Akka.Streams.Stage; namespace Akka.Streams diff --git a/src/core/Akka.Streams/Implementation/ActorPublisher.cs b/src/core/Akka.Streams/Implementation/ActorPublisher.cs index 312649ed708..d391770c629 100644 --- a/src/core/Akka.Streams/Implementation/ActorPublisher.cs +++ b/src/core/Akka.Streams/Implementation/ActorPublisher.cs @@ -9,7 +9,6 @@ using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; -using System.Reflection; using System.Runtime.Serialization; using Akka.Actor; using Akka.Annotations; diff --git a/src/core/Akka.Streams/Implementation/AsyncEnumerable.cs b/src/core/Akka.Streams/Implementation/AsyncEnumerable.cs index 4de292ba6ec..0982156cabd 100644 --- a/src/core/Akka.Streams/Implementation/AsyncEnumerable.cs +++ b/src/core/Akka.Streams/Implementation/AsyncEnumerable.cs @@ -8,7 +8,6 @@ using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; -using Akka.Configuration.Hocon; namespace Akka.Streams.Dsl { diff --git a/src/core/Akka.Streams/Implementation/Fusing/Fusing.cs b/src/core/Akka.Streams/Implementation/Fusing/Fusing.cs index e5c50f86675..f88958c0511 100644 --- a/src/core/Akka.Streams/Implementation/Fusing/Fusing.cs +++ b/src/core/Akka.Streams/Implementation/Fusing/Fusing.cs @@ -9,10 +9,8 @@ using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; -using System.Reflection; using Akka.Pattern; using Akka.Streams.Stage; -using Akka.Streams.Util; using Akka.Util; using Akka.Util.Internal; using Atomic = Akka.Streams.Implementation.StreamLayout.Atomic; diff --git a/src/core/Akka.Streams/Implementation/IO/IOSinks.cs b/src/core/Akka.Streams/Implementation/IO/IOSinks.cs index 534a5cf8ea2..b76e42a7c97 100644 --- a/src/core/Akka.Streams/Implementation/IO/IOSinks.cs +++ b/src/core/Akka.Streams/Implementation/IO/IOSinks.cs @@ -7,11 +7,9 @@ using System; using System.IO; -using System.Linq; using System.Threading.Tasks; using Akka.IO; using Akka.Streams.Actors; -using Akka.Streams.Implementation.Stages; using Akka.Streams.IO; namespace Akka.Streams.Implementation.IO diff --git a/src/core/Akka.Streams/Implementation/JsonObjectParser.cs b/src/core/Akka.Streams/Implementation/JsonObjectParser.cs index 3a8c0fb6d56..e6587e9d602 100644 --- a/src/core/Akka.Streams/Implementation/JsonObjectParser.cs +++ b/src/core/Akka.Streams/Implementation/JsonObjectParser.cs @@ -10,7 +10,6 @@ using Akka.Annotations; using Akka.IO; using Akka.Streams.Dsl; -using Akka.Streams.Util; using Akka.Util; namespace Akka.Streams.Implementation diff --git a/src/core/Akka.Streams/Implementation/Sinks.cs b/src/core/Akka.Streams/Implementation/Sinks.cs index 7a40342b2d2..1a4e1d7dc38 100644 --- a/src/core/Akka.Streams/Implementation/Sinks.cs +++ b/src/core/Akka.Streams/Implementation/Sinks.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; using System.Collections.Immutable; using System.Threading; using System.Threading.Tasks; @@ -17,12 +16,8 @@ using Akka.Streams.Dsl; using Akka.Streams.Implementation.Stages; using Akka.Streams.Stage; -using Akka.Streams.Supervision; -using Akka.Streams.Util; using Akka.Util; using Reactive.Streams; -using Decider = Akka.Streams.Supervision.Decider; -using Directive = Akka.Streams.Supervision.Directive; namespace Akka.Streams.Implementation { diff --git a/src/core/Akka.Streams/Implementation/Stages/Stages.cs b/src/core/Akka.Streams/Implementation/Stages/Stages.cs index c7607cce4fb..9f3deb62c28 100644 --- a/src/core/Akka.Streams/Implementation/Stages/Stages.cs +++ b/src/core/Akka.Streams/Implementation/Stages/Stages.cs @@ -7,7 +7,6 @@ using System; using System.Threading.Tasks; -using Akka.Dispatch; using Akka.Streams.Stage; using Akka.Streams.Supervision; diff --git a/src/core/Akka.Streams/Implementation/StreamLayout.cs b/src/core/Akka.Streams/Implementation/StreamLayout.cs index 54098a02735..3252e447633 100644 --- a/src/core/Akka.Streams/Implementation/StreamLayout.cs +++ b/src/core/Akka.Streams/Implementation/StreamLayout.cs @@ -12,7 +12,6 @@ using System.Linq; using System.Runtime.Serialization; using Akka.Annotations; -using Akka.Event; using Akka.Pattern; using Akka.Streams.Dsl; using Akka.Streams.Implementation.Fusing; diff --git a/src/core/Akka.Streams/Implementation/StreamRef/SinkRefImpl.cs b/src/core/Akka.Streams/Implementation/StreamRef/SinkRefImpl.cs index 20807abed2b..196106bb18d 100644 --- a/src/core/Akka.Streams/Implementation/StreamRef/SinkRefImpl.cs +++ b/src/core/Akka.Streams/Implementation/StreamRef/SinkRefImpl.cs @@ -6,9 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using System.Threading.Tasks; using Akka.Actor; using Akka.Annotations; diff --git a/src/core/Akka.Streams/Implementation/StreamRef/SourceRefImpl.cs b/src/core/Akka.Streams/Implementation/StreamRef/SourceRefImpl.cs index f64bbac3056..63e45a231c6 100644 --- a/src/core/Akka.Streams/Implementation/StreamRef/SourceRefImpl.cs +++ b/src/core/Akka.Streams/Implementation/StreamRef/SourceRefImpl.cs @@ -14,10 +14,8 @@ using Akka.Streams.Actors; using Akka.Streams.Dsl; using Akka.Streams.Serialization; -using Akka.Streams.Serialization.Proto.Msg; using Akka.Streams.Stage; using Akka.Util; -using Google.Protobuf.WellKnownTypes; using Type = System.Type; namespace Akka.Streams.Implementation.StreamRef diff --git a/src/core/Akka.Streams/Implementation/StreamRef/StreamRefsProtocol.cs b/src/core/Akka.Streams/Implementation/StreamRef/StreamRefsProtocol.cs index 974960543a2..316fadd1f9d 100644 --- a/src/core/Akka.Streams/Implementation/StreamRef/StreamRefsProtocol.cs +++ b/src/core/Akka.Streams/Implementation/StreamRef/StreamRefsProtocol.cs @@ -5,11 +5,6 @@ // //----------------------------------------------------------------------- -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; using Akka.Actor; using Akka.Event; using Reactive.Streams; diff --git a/src/core/Akka.Streams/Implementation/Unfold.cs b/src/core/Akka.Streams/Implementation/Unfold.cs index da60c73cff3..93d67db0ec6 100644 --- a/src/core/Akka.Streams/Implementation/Unfold.cs +++ b/src/core/Akka.Streams/Implementation/Unfold.cs @@ -9,7 +9,6 @@ using System.Threading.Tasks; using Akka.Annotations; using Akka.Streams.Stage; -using Akka.Streams.Util; using Akka.Util; namespace Akka.Streams.Implementation diff --git a/src/core/Akka.Streams/Properties/AssemblyInfo.cs b/src/core/Akka.Streams/Properties/AssemblyInfo.cs index e67f2531eaf..c3ba191d34d 100644 --- a/src/core/Akka.Streams/Properties/AssemblyInfo.cs +++ b/src/core/Akka.Streams/Properties/AssemblyInfo.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/src/core/Akka.Streams/Queue.cs b/src/core/Akka.Streams/Queue.cs index c1d2593602a..9b784913330 100644 --- a/src/core/Akka.Streams/Queue.cs +++ b/src/core/Akka.Streams/Queue.cs @@ -7,7 +7,6 @@ using System; using System.Threading.Tasks; -using Akka.Streams.Util; using Akka.Util; namespace Akka.Streams diff --git a/src/core/Akka.Streams/Serialization/StreamRefSerializer.cs b/src/core/Akka.Streams/Serialization/StreamRefSerializer.cs index d0ac59329b1..c4615384477 100644 --- a/src/core/Akka.Streams/Serialization/StreamRefSerializer.cs +++ b/src/core/Akka.Streams/Serialization/StreamRefSerializer.cs @@ -10,7 +10,6 @@ using Akka.Actor; using Akka.Serialization; using Akka.Streams.Serialization.Proto.Msg; -using Akka.Util; using Google.Protobuf; using Akka.Streams.Implementation.StreamRef; using CumulativeDemand = Akka.Streams.Implementation.StreamRef.CumulativeDemand; diff --git a/src/core/Akka.Streams/Stage/GraphStage.cs b/src/core/Akka.Streams/Stage/GraphStage.cs index 3f644e494f5..3c2da527bd7 100644 --- a/src/core/Akka.Streams/Stage/GraphStage.cs +++ b/src/core/Akka.Streams/Stage/GraphStage.cs @@ -7,19 +7,16 @@ using System; using System.Collections.Generic; -using System.Collections.Immutable; using System.Linq; using System.Runtime.Serialization; using System.Threading; using Akka.Actor; using Akka.Annotations; -using Akka.Dispatch.SysMsg; using Akka.Event; using Akka.Pattern; using Akka.Streams.Actors; using Akka.Streams.Implementation; using Akka.Streams.Implementation.Fusing; -using Akka.Streams.Util; using Akka.Util; using Akka.Util.Internal; using static Akka.Streams.Implementation.Fusing.GraphInterpreter; diff --git a/src/core/Akka.Streams/StreamRefs.cs b/src/core/Akka.Streams/StreamRefs.cs index 62111739e74..52b99d89cdc 100644 --- a/src/core/Akka.Streams/StreamRefs.cs +++ b/src/core/Akka.Streams/StreamRefs.cs @@ -10,7 +10,6 @@ using Akka.Actor; using Akka.Pattern; using Akka.Streams.Dsl; -using Akka.Streams.Implementation; using Akka.Util; #pragma warning disable 628 diff --git a/src/core/Akka.Streams/Util/ObjectExtensions.cs b/src/core/Akka.Streams/Util/ObjectExtensions.cs index 00e7cb8b9b1..00e0be14428 100644 --- a/src/core/Akka.Streams/Util/ObjectExtensions.cs +++ b/src/core/Akka.Streams/Util/ObjectExtensions.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System.Collections.Generic; -using Akka.Util; namespace Akka.Streams.Util { diff --git a/src/core/Akka.Streams/Util/TypeExtensions.cs b/src/core/Akka.Streams/Util/TypeExtensions.cs index 45400093aaa..78b6c4239a1 100644 --- a/src/core/Akka.Streams/Util/TypeExtensions.cs +++ b/src/core/Akka.Streams/Util/TypeExtensions.cs @@ -7,7 +7,6 @@ using System; using System.Linq; -using System.Reflection; using Reactive.Streams; namespace Akka.Streams.Util diff --git a/src/core/Akka.TestKit.Tests/Properties/AssemblyInfo.cs b/src/core/Akka.TestKit.Tests/Properties/AssemblyInfo.cs index d5f213e7331..453d2e8710c 100644 --- a/src/core/Akka.TestKit.Tests/Properties/AssemblyInfo.cs +++ b/src/core/Akka.TestKit.Tests/Properties/AssemblyInfo.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/src/core/Akka.TestKit.Tests/TestEventListenerTests/DeadLettersEventFilterTests.cs b/src/core/Akka.TestKit.Tests/TestEventListenerTests/DeadLettersEventFilterTests.cs index 7642231bc40..40f1b03a425 100644 --- a/src/core/Akka.TestKit.Tests/TestEventListenerTests/DeadLettersEventFilterTests.cs +++ b/src/core/Akka.TestKit.Tests/TestEventListenerTests/DeadLettersEventFilterTests.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using System.Threading.Tasks; using Akka.Actor; using Akka.Event; diff --git a/src/core/Akka.TestKit.Tests/TestEventListenerTests/EventFilterTestBase.cs b/src/core/Akka.TestKit.Tests/TestEventListenerTests/EventFilterTestBase.cs index 0d2496cfce5..41d3d2d332f 100644 --- a/src/core/Akka.TestKit.Tests/TestEventListenerTests/EventFilterTestBase.cs +++ b/src/core/Akka.TestKit.Tests/TestEventListenerTests/EventFilterTestBase.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Threading.Tasks; using Akka.Event; namespace Akka.TestKit.Tests.TestEventListenerTests diff --git a/src/core/Akka.TestKit.Tests/TestKitBaseTests/ExpectTests.cs b/src/core/Akka.TestKit.Tests/TestKitBaseTests/ExpectTests.cs index d3efb56328a..59b21b8ab92 100644 --- a/src/core/Akka.TestKit.Tests/TestKitBaseTests/ExpectTests.cs +++ b/src/core/Akka.TestKit.Tests/TestKitBaseTests/ExpectTests.cs @@ -9,7 +9,6 @@ using System.Linq; using System.Threading.Tasks; using Akka.Actor; -using Akka.TestKit; using FluentAssertions; using Xunit; using Xunit.Sdk; diff --git a/src/core/Akka.TestKit.Tests/TestKitBaseTests/WithinTests.cs b/src/core/Akka.TestKit.Tests/TestKitBaseTests/WithinTests.cs index 4522e037b00..967d8b5678a 100644 --- a/src/core/Akka.TestKit.Tests/TestKitBaseTests/WithinTests.cs +++ b/src/core/Akka.TestKit.Tests/TestKitBaseTests/WithinTests.cs @@ -8,7 +8,6 @@ using System; using System.Threading.Tasks; using FluentAssertions; -using FluentAssertions.Execution; using FluentAssertions.Extensions; using Xunit; using Xunit.Sdk; diff --git a/src/core/Akka.TestKit.Tests/TestKit_Config_Tests.cs b/src/core/Akka.TestKit.Tests/TestKit_Config_Tests.cs index 0ac5a404dce..e189822a7b7 100644 --- a/src/core/Akka.TestKit.Tests/TestKit_Config_Tests.cs +++ b/src/core/Akka.TestKit.Tests/TestKit_Config_Tests.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Reflection; using Xunit; namespace Akka.TestKit.Tests.Xunit2 diff --git a/src/core/Akka.TestKit/ActorCellKeepingSynchronizationContext.cs b/src/core/Akka.TestKit/ActorCellKeepingSynchronizationContext.cs index 5606af74ea3..304fa9be612 100644 --- a/src/core/Akka.TestKit/ActorCellKeepingSynchronizationContext.cs +++ b/src/core/Akka.TestKit/ActorCellKeepingSynchronizationContext.cs @@ -6,9 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using System.Threading; using System.Threading.Tasks; using Akka.Actor; diff --git a/src/core/Akka.TestKit/CallingThreadDispatcher.cs b/src/core/Akka.TestKit/CallingThreadDispatcher.cs index eb29e0bfd59..a017fd72b12 100644 --- a/src/core/Akka.TestKit/CallingThreadDispatcher.cs +++ b/src/core/Akka.TestKit/CallingThreadDispatcher.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using Akka.Configuration; using Akka.Dispatch; diff --git a/src/core/Akka.TestKit/EventFilter/EventFilterFactory.cs b/src/core/Akka.TestKit/EventFilter/EventFilterFactory.cs index f9ab2dedcfa..7f27cc1cd32 100644 --- a/src/core/Akka.TestKit/EventFilter/EventFilterFactory.cs +++ b/src/core/Akka.TestKit/EventFilter/EventFilterFactory.cs @@ -7,7 +7,6 @@ using System; using System.Collections.Generic; -using System.Reflection; using System.Text.RegularExpressions; using Akka.Actor; using Akka.Event; diff --git a/src/core/Akka.TestKit/EventFilter/EventFilterFactory_Generated.cs b/src/core/Akka.TestKit/EventFilter/EventFilterFactory_Generated.cs index b030d0b5954..cdb65c5a5c4 100644 --- a/src/core/Akka.TestKit/EventFilter/EventFilterFactory_Generated.cs +++ b/src/core/Akka.TestKit/EventFilter/EventFilterFactory_Generated.cs @@ -13,10 +13,8 @@ // the code is regenerated. // //------------------------------------------------------------------------------ -using System; + using System.Text.RegularExpressions; -using Akka.Actor; -using Akka.TestKit; using Akka.TestKit.Internal; using Akka.TestKit.Internal.StringMatcher; namespace Akka.TestKit diff --git a/src/core/Akka.TestKit/Internal/BlockingCollectionTestActorQueue.cs b/src/core/Akka.TestKit/Internal/BlockingCollectionTestActorQueue.cs index 6fc3989fd55..3f2493a8ad5 100644 --- a/src/core/Akka.TestKit/Internal/BlockingCollectionTestActorQueue.cs +++ b/src/core/Akka.TestKit/Internal/BlockingCollectionTestActorQueue.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using System.Collections.Generic; namespace Akka.TestKit.Internal diff --git a/src/core/Akka.TestKit/Properties/AssemblyInfo.cs b/src/core/Akka.TestKit/Properties/AssemblyInfo.cs index dc603fc52cf..2cca60e3348 100644 --- a/src/core/Akka.TestKit/Properties/AssemblyInfo.cs +++ b/src/core/Akka.TestKit/Properties/AssemblyInfo.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/src/core/Akka.TestKit/TestActorRefBase.cs b/src/core/Akka.TestKit/TestActorRefBase.cs index 4a7b4e13441..cc3de04b9ed 100644 --- a/src/core/Akka.TestKit/TestActorRefBase.cs +++ b/src/core/Akka.TestKit/TestActorRefBase.cs @@ -9,7 +9,6 @@ using System.Collections.Generic; using System.Threading.Tasks; using Akka.Actor; -using Akka.Dispatch; using Akka.Dispatch.SysMsg; using Akka.TestKit.Internal; using Akka.Util; diff --git a/src/core/Akka.TestKit/TestBreaker.cs b/src/core/Akka.TestKit/TestBreaker.cs index 58d676974a8..594f21b9dab 100644 --- a/src/core/Akka.TestKit/TestBreaker.cs +++ b/src/core/Akka.TestKit/TestBreaker.cs @@ -5,11 +5,7 @@ // //----------------------------------------------------------------------- -using System; -using System.Linq; -using System.Runtime.Serialization; using System.Threading; -using System.Threading.Tasks; using Akka.Pattern; namespace Akka.TestKit diff --git a/src/core/Akka.TestKit/TestKitBase.cs b/src/core/Akka.TestKit/TestKitBase.cs index 0e760de6f3a..9202876fff8 100644 --- a/src/core/Akka.TestKit/TestKitBase.cs +++ b/src/core/Akka.TestKit/TestKitBase.cs @@ -15,7 +15,6 @@ using Akka.Actor.Setup; using Akka.Configuration; using Akka.Event; -using Akka.TestKit.Extensions; using Akka.TestKit.Internal; using Akka.Util; using Akka.Util.Internal; diff --git a/src/core/Akka.TestKit/TestLatch.cs b/src/core/Akka.TestKit/TestLatch.cs index 557628f1ea6..48ae597f4bb 100644 --- a/src/core/Akka.TestKit/TestLatch.cs +++ b/src/core/Akka.TestKit/TestLatch.cs @@ -8,7 +8,6 @@ using System; using System.ComponentModel; using System.Threading; -using Akka.Actor; namespace Akka.TestKit { diff --git a/src/core/Akka.TestKit/TestScheduler.cs b/src/core/Akka.TestKit/TestScheduler.cs index 0009fee3610..a87dbf0ece7 100644 --- a/src/core/Akka.TestKit/TestScheduler.cs +++ b/src/core/Akka.TestKit/TestScheduler.cs @@ -7,7 +7,6 @@ using System; using System.Collections.Concurrent; -using System.Collections.Generic; using System.Linq; using Akka.Actor; using Akka.Configuration; diff --git a/src/core/Akka.Tests.Performance/Actor/ActorPathSpec.cs b/src/core/Akka.Tests.Performance/Actor/ActorPathSpec.cs index d9bdbddb729..55850582dbb 100644 --- a/src/core/Akka.Tests.Performance/Actor/ActorPathSpec.cs +++ b/src/core/Akka.Tests.Performance/Actor/ActorPathSpec.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using Akka.Actor; using NBench; diff --git a/src/core/Akka.Tests.Performance/Actor/Internal/ChildrenContainerSpec.cs b/src/core/Akka.Tests.Performance/Actor/Internal/ChildrenContainerSpec.cs index 64619bddab6..d8e333bf68b 100644 --- a/src/core/Akka.Tests.Performance/Actor/Internal/ChildrenContainerSpec.cs +++ b/src/core/Akka.Tests.Performance/Actor/Internal/ChildrenContainerSpec.cs @@ -7,7 +7,6 @@ using Akka.Actor; using Akka.Actor.Internal; -using Akka.Util.Internal; using NBench; namespace Akka.Tests.Performance.Actor.Internal diff --git a/src/core/Akka.Tests.Performance/Dispatch/DispatcherThroughputSpecBase.cs b/src/core/Akka.Tests.Performance/Dispatch/DispatcherThroughputSpecBase.cs index 911cb1d7304..875934b4888 100644 --- a/src/core/Akka.Tests.Performance/Dispatch/DispatcherThroughputSpecBase.cs +++ b/src/core/Akka.Tests.Performance/Dispatch/DispatcherThroughputSpecBase.cs @@ -8,7 +8,6 @@ using System; using System.Threading; using Akka.Actor; -using Akka.Actor.Internal; using Akka.Dispatch; using NBench; diff --git a/src/core/Akka.Tests.Performance/Event/EventStreamThroughputSpec.cs b/src/core/Akka.Tests.Performance/Event/EventStreamThroughputSpec.cs index 87077cf80ad..9f49117bb8f 100644 --- a/src/core/Akka.Tests.Performance/Event/EventStreamThroughputSpec.cs +++ b/src/core/Akka.Tests.Performance/Event/EventStreamThroughputSpec.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using Akka.Actor; using Akka.Util.Internal; using NBench; diff --git a/src/core/Akka.Tests.Performance/IO/TcpInboundOnlySpec.cs b/src/core/Akka.Tests.Performance/IO/TcpInboundOnlySpec.cs index f5b35495f18..de3042ff83a 100644 --- a/src/core/Akka.Tests.Performance/IO/TcpInboundOnlySpec.cs +++ b/src/core/Akka.Tests.Performance/IO/TcpInboundOnlySpec.cs @@ -8,11 +8,9 @@ using System; using System.Net; using System.Net.Sockets; -using System.Text; using System.Threading; using System.Threading.Tasks; using Akka.Actor; -using Akka.Configuration; using Akka.IO; using Akka.Util; using NBench; diff --git a/src/core/Akka.Tests.Performance/IO/TcpSingleConnectionSpec.cs b/src/core/Akka.Tests.Performance/IO/TcpSingleConnectionSpec.cs index 7dd7701c811..5e4082d01e8 100644 --- a/src/core/Akka.Tests.Performance/IO/TcpSingleConnectionSpec.cs +++ b/src/core/Akka.Tests.Performance/IO/TcpSingleConnectionSpec.cs @@ -7,11 +7,9 @@ using System; using System.Net; -using System.Net.Sockets; using System.Threading; using System.Threading.Tasks; using Akka.Actor; -using Akka.Configuration; using Akka.IO; using Akka.Util; using NBench; diff --git a/src/core/Akka.Tests.Performance/Properties/AssemblyInfo.cs b/src/core/Akka.Tests.Performance/Properties/AssemblyInfo.cs index f2f4944f9b5..ad5c6c60d03 100644 --- a/src/core/Akka.Tests.Performance/Properties/AssemblyInfo.cs +++ b/src/core/Akka.Tests.Performance/Properties/AssemblyInfo.cs @@ -5,8 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/src/core/Akka.Tests.Performance/Util/SerializationBenchmarks.cs b/src/core/Akka.Tests.Performance/Util/SerializationBenchmarks.cs index 31659c363ed..ae6f87f045d 100644 --- a/src/core/Akka.Tests.Performance/Util/SerializationBenchmarks.cs +++ b/src/core/Akka.Tests.Performance/Util/SerializationBenchmarks.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using System.Collections.Generic; using Akka.Actor; using Akka.Routing; diff --git a/src/core/Akka.Tests.Performance/Util/StandardOutWriterMemoryBenchmark.cs b/src/core/Akka.Tests.Performance/Util/StandardOutWriterMemoryBenchmark.cs index f253e99742d..7d62b3b47d9 100644 --- a/src/core/Akka.Tests.Performance/Util/StandardOutWriterMemoryBenchmark.cs +++ b/src/core/Akka.Tests.Performance/Util/StandardOutWriterMemoryBenchmark.cs @@ -6,11 +6,7 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; using System.IO; -using System.Linq; -using System.Text; -using System.Threading.Tasks; using Akka.Util; using NBench; diff --git a/src/core/Akka.Tests.Shared.Internals/Properties/AssemblyInfo.cs b/src/core/Akka.Tests.Shared.Internals/Properties/AssemblyInfo.cs index a5529c9fa25..d488204e30e 100644 --- a/src/core/Akka.Tests.Shared.Internals/Properties/AssemblyInfo.cs +++ b/src/core/Akka.Tests.Shared.Internals/Properties/AssemblyInfo.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/src/core/Akka.Tests.Shared.Internals/RepeatAttribute.cs b/src/core/Akka.Tests.Shared.Internals/RepeatAttribute.cs index a89b366fa02..bacc4032276 100644 --- a/src/core/Akka.Tests.Shared.Internals/RepeatAttribute.cs +++ b/src/core/Akka.Tests.Shared.Internals/RepeatAttribute.cs @@ -9,7 +9,6 @@ using System.Collections.Generic; using System.Linq; using System.Reflection; -using System.Text; using Xunit.Sdk; namespace Akka.Tests.Shared.Internals diff --git a/src/core/Akka.Tests/Actor/ActorCellSpec.cs b/src/core/Akka.Tests/Actor/ActorCellSpec.cs index a303136f5b0..1f83732c7db 100644 --- a/src/core/Akka.Tests/Actor/ActorCellSpec.cs +++ b/src/core/Akka.Tests/Actor/ActorCellSpec.cs @@ -5,11 +5,6 @@ // //----------------------------------------------------------------------- -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading; using System.Threading.Tasks; using Akka.Actor; using Akka.TestKit; diff --git a/src/core/Akka.Tests/Actor/ActorRefIgnoreSpec.cs b/src/core/Akka.Tests/Actor/ActorRefIgnoreSpec.cs index ff92dcb844e..08a6aca7838 100644 --- a/src/core/Akka.Tests/Actor/ActorRefIgnoreSpec.cs +++ b/src/core/Akka.Tests/Actor/ActorRefIgnoreSpec.cs @@ -6,14 +6,9 @@ //----------------------------------------------------------------------- using System; -using System.Threading; using Akka.Actor; -using Akka.Actor.Internal; -using Akka.Serialization; using Akka.TestKit; -using Akka.TestKit.TestActors; using Xunit; -using Akka.Util.Internal; using FluentAssertions; using System.Threading.Tasks; diff --git a/src/core/Akka.Tests/Actor/ActorSystemDispatcherSpec.cs b/src/core/Akka.Tests/Actor/ActorSystemDispatcherSpec.cs index f34579bfbe4..a31f6d6db1f 100644 --- a/src/core/Akka.Tests/Actor/ActorSystemDispatcherSpec.cs +++ b/src/core/Akka.Tests/Actor/ActorSystemDispatcherSpec.cs @@ -6,18 +6,11 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading; using System.Threading.Tasks; using Akka.Actor; using Akka.Actor.Internal; -using Akka.Actor.Setup; using Akka.Configuration; -using Akka.Dispatch; using Akka.TestKit; -using Akka.Util; using FluentAssertions; using Xunit; using Xunit.Abstractions; diff --git a/src/core/Akka.Tests/Actor/ActorSystemSpec.cs b/src/core/Akka.Tests/Actor/ActorSystemSpec.cs index f077da4670e..23ce0b8c4f9 100644 --- a/src/core/Akka.Tests/Actor/ActorSystemSpec.cs +++ b/src/core/Akka.Tests/Actor/ActorSystemSpec.cs @@ -22,7 +22,6 @@ using Akka.Event; using Akka.TestKit.Extensions; using FluentAssertions.Execution; -using Akka.Tests.Util; namespace Akka.Tests.Actor { diff --git a/src/core/Akka.Tests/Actor/ActorSystemTests.cs b/src/core/Akka.Tests/Actor/ActorSystemTests.cs index d6c2289d829..0e4b41e02d0 100644 --- a/src/core/Akka.Tests/Actor/ActorSystemTests.cs +++ b/src/core/Akka.Tests/Actor/ActorSystemTests.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System.Linq; using Akka.Actor; using Akka.Actor.Internal; using Xunit; diff --git a/src/core/Akka.Tests/Actor/BugFix4376Spec.cs b/src/core/Akka.Tests/Actor/BugFix4376Spec.cs index aae8de96a8c..6e2cbf3545d 100644 --- a/src/core/Akka.Tests/Actor/BugFix4376Spec.cs +++ b/src/core/Akka.Tests/Actor/BugFix4376Spec.cs @@ -8,7 +8,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Text; using System.Threading.Tasks; using Akka.Actor; using Akka.Routing; diff --git a/src/core/Akka.Tests/Actor/BugFix4823Spec.cs b/src/core/Akka.Tests/Actor/BugFix4823Spec.cs index 16c8595e8d4..24ff7df8df2 100644 --- a/src/core/Akka.Tests/Actor/BugFix4823Spec.cs +++ b/src/core/Akka.Tests/Actor/BugFix4823Spec.cs @@ -7,7 +7,6 @@ using System.Threading.Tasks; using Akka.Actor; -using Akka.Event; using Akka.TestKit; using Xunit.Abstractions; using FluentAssertions; diff --git a/src/core/Akka.Tests/Actor/ContextWatchWithSpec.cs b/src/core/Akka.Tests/Actor/ContextWatchWithSpec.cs index 6f468d58f59..4445c2a0811 100644 --- a/src/core/Akka.Tests/Actor/ContextWatchWithSpec.cs +++ b/src/core/Akka.Tests/Actor/ContextWatchWithSpec.cs @@ -7,14 +7,10 @@ using System; using System.Collections.Generic; -using System.Linq; -using System.Threading; using System.Threading.Tasks; using Akka.Actor; using Akka.TestKit; -using FluentAssertions; using FluentAssertions.Extensions; -using Newtonsoft.Json; using Xunit; using Xunit.Abstractions; diff --git a/src/core/Akka.Tests/Actor/DeadLetterSupressionSpec.cs b/src/core/Akka.Tests/Actor/DeadLetterSupressionSpec.cs index 9bd2931bbdb..1f7bda42c30 100644 --- a/src/core/Akka.Tests/Actor/DeadLetterSupressionSpec.cs +++ b/src/core/Akka.Tests/Actor/DeadLetterSupressionSpec.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Threading; using Akka.Actor; using Akka.Event; using Akka.TestKit; diff --git a/src/core/Akka.Tests/Actor/DeadLetterSuspensionSpec.cs b/src/core/Akka.Tests/Actor/DeadLetterSuspensionSpec.cs index d2b7493d762..a9cd420fc9c 100644 --- a/src/core/Akka.Tests/Actor/DeadLetterSuspensionSpec.cs +++ b/src/core/Akka.Tests/Actor/DeadLetterSuspensionSpec.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System.Threading; using System.Threading.Tasks; using Akka.Actor; using Akka.Configuration; diff --git a/src/core/Akka.Tests/Actor/DeathWatchSpec.cs b/src/core/Akka.Tests/Actor/DeathWatchSpec.cs index 02f33e78ec7..cbf71c6210b 100644 --- a/src/core/Akka.Tests/Actor/DeathWatchSpec.cs +++ b/src/core/Akka.Tests/Actor/DeathWatchSpec.cs @@ -8,17 +8,14 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Threading; using System.Threading.Tasks; using Akka.Actor; using Akka.Actor.Internal; -using Akka.Dispatch; using Akka.Dispatch.SysMsg; using Akka.Event; using Akka.TestKit; using Akka.TestKit.Extensions; using Akka.Tests.TestUtils; -using Akka.Tests.Util; using Akka.Util.Internal; using Xunit; diff --git a/src/core/Akka.Tests/Actor/Dispatch/ActorModelSpec.cs b/src/core/Akka.Tests/Actor/Dispatch/ActorModelSpec.cs index 02cde5781c4..51e147ceda1 100644 --- a/src/core/Akka.Tests/Actor/Dispatch/ActorModelSpec.cs +++ b/src/core/Akka.Tests/Actor/Dispatch/ActorModelSpec.cs @@ -9,7 +9,6 @@ using System.Collections.Concurrent; using System.Linq; using System.Runtime.InteropServices; -using System.Reflection; using System.Threading; using System.Threading.Tasks; using Akka.Actor; diff --git a/src/core/Akka.Tests/Actor/Dispatch/CurrentSynchronizationContextDispatcherSpecs.cs b/src/core/Akka.Tests/Actor/Dispatch/CurrentSynchronizationContextDispatcherSpecs.cs index 72df934b0c6..2d8b7dd9a4d 100644 --- a/src/core/Akka.Tests/Actor/Dispatch/CurrentSynchronizationContextDispatcherSpecs.cs +++ b/src/core/Akka.Tests/Actor/Dispatch/CurrentSynchronizationContextDispatcherSpecs.cs @@ -5,10 +5,6 @@ // //----------------------------------------------------------------------- -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using System.Threading.Tasks; using Akka.Actor; using Akka.Configuration; diff --git a/src/core/Akka.Tests/Actor/FSMTransitionSpec.cs b/src/core/Akka.Tests/Actor/FSMTransitionSpec.cs index 5829e8c5b1a..bda45bd279d 100644 --- a/src/core/Akka.Tests/Actor/FSMTransitionSpec.cs +++ b/src/core/Akka.Tests/Actor/FSMTransitionSpec.cs @@ -9,7 +9,6 @@ using System.Threading.Tasks; using Akka.Actor; using Akka.TestKit; -using FluentAssertions; using FluentAssertions.Extensions; using Xunit; using static Akka.Actor.FSMBase; diff --git a/src/core/Akka.Tests/Actor/FunctionRefSpecs.cs b/src/core/Akka.Tests/Actor/FunctionRefSpecs.cs index 26255b741ea..d7fb2db799b 100644 --- a/src/core/Akka.Tests/Actor/FunctionRefSpecs.cs +++ b/src/core/Akka.Tests/Actor/FunctionRefSpecs.cs @@ -8,7 +8,6 @@ using System; using System.Threading.Tasks; using Akka.Actor; -using Akka.Configuration; using Akka.TestKit; using Xunit; using Xunit.Abstractions; diff --git a/src/core/Akka.Tests/Actor/InboxSpec.cs b/src/core/Akka.Tests/Actor/InboxSpec.cs index 3dda1d1ce19..8277511bdb2 100644 --- a/src/core/Akka.Tests/Actor/InboxSpec.cs +++ b/src/core/Akka.Tests/Actor/InboxSpec.cs @@ -14,7 +14,6 @@ using Akka.Event; using Akka.TestKit; using Akka.TestKit.Extensions; -using Akka.Tests.Util; using Xunit; namespace Akka.Tests.Actor diff --git a/src/core/Akka.Tests/Actor/LocalActorRefProviderSpec.cs b/src/core/Akka.Tests/Actor/LocalActorRefProviderSpec.cs index 1668118e6e9..6330600d5d4 100644 --- a/src/core/Akka.Tests/Actor/LocalActorRefProviderSpec.cs +++ b/src/core/Akka.Tests/Actor/LocalActorRefProviderSpec.cs @@ -14,7 +14,6 @@ using Akka.TestKit.Extensions; using Xunit; using Akka.TestKit.TestActors; -using Akka.Tests.Util; namespace Akka.Tests.Actor { diff --git a/src/core/Akka.Tests/Actor/PipeToSupportSpec.cs b/src/core/Akka.Tests/Actor/PipeToSupportSpec.cs index 93f1af9556c..651be068e26 100644 --- a/src/core/Akka.Tests/Actor/PipeToSupportSpec.cs +++ b/src/core/Akka.Tests/Actor/PipeToSupportSpec.cs @@ -8,7 +8,6 @@ using System; using System.Linq; using System.Threading.Tasks; -using System.Threading.Tasks.Sources; using Akka.Actor; using Akka.Event; using Akka.TestKit; diff --git a/src/core/Akka.Tests/Actor/ReceiveTimeoutSpec.cs b/src/core/Akka.Tests/Actor/ReceiveTimeoutSpec.cs index 47e7df29ba2..c3fd14e68c4 100644 --- a/src/core/Akka.Tests/Actor/ReceiveTimeoutSpec.cs +++ b/src/core/Akka.Tests/Actor/ReceiveTimeoutSpec.cs @@ -6,14 +6,12 @@ //----------------------------------------------------------------------- using System; -using System.Threading; using System.Threading.Tasks; using Akka.Actor; using Akka.Actor.Dsl; using Akka.Event; using Akka.TestKit; using Akka.Util.Internal; -using FluentAssertions; using FluentAssertions.Extensions; using Xunit; using Xunit.Abstractions; diff --git a/src/core/Akka.Tests/Actor/RepointableActorRefSpecs.cs b/src/core/Akka.Tests/Actor/RepointableActorRefSpecs.cs index a9f94e427ea..0e3a83c5f19 100644 --- a/src/core/Akka.Tests/Actor/RepointableActorRefSpecs.cs +++ b/src/core/Akka.Tests/Actor/RepointableActorRefSpecs.cs @@ -7,7 +7,6 @@ using System.Threading.Tasks; using Akka.Actor; -using Akka.Configuration; using Akka.TestKit; using Xunit; diff --git a/src/core/Akka.Tests/Actor/Scheduler/SchedulerShutdownSpec.cs b/src/core/Akka.Tests/Actor/Scheduler/SchedulerShutdownSpec.cs index 4bb7806b652..ad7ead54582 100644 --- a/src/core/Akka.Tests/Actor/Scheduler/SchedulerShutdownSpec.cs +++ b/src/core/Akka.Tests/Actor/Scheduler/SchedulerShutdownSpec.cs @@ -6,15 +6,12 @@ //----------------------------------------------------------------------- using System; -using System.Threading; using System.Threading.Tasks; using Akka.Actor; using Akka.Configuration; using Akka.Dispatch; using Akka.Event; -using Akka.TestKit; using Akka.TestKit.Extensions; -using Akka.Tests.Util; using Akka.Util.Internal; using FluentAssertions; using Xunit; diff --git a/src/core/Akka.Tests/Actor/Scheduler/TaskBasedScheduler_ActionScheduler_Schedule_Tests.cs b/src/core/Akka.Tests/Actor/Scheduler/TaskBasedScheduler_ActionScheduler_Schedule_Tests.cs index 2c0d86f107d..263f70e0fa2 100644 --- a/src/core/Akka.Tests/Actor/Scheduler/TaskBasedScheduler_ActionScheduler_Schedule_Tests.cs +++ b/src/core/Akka.Tests/Actor/Scheduler/TaskBasedScheduler_ActionScheduler_Schedule_Tests.cs @@ -13,7 +13,6 @@ using Akka.TestKit; using Akka.Util.Internal; using Xunit; -using Xunit.Extensions; namespace Akka.Tests.Actor.Scheduler { diff --git a/src/core/Akka.Tests/Actor/Scheduler/TaskBasedScheduler_TellScheduler_Schedule_Tests.cs b/src/core/Akka.Tests/Actor/Scheduler/TaskBasedScheduler_TellScheduler_Schedule_Tests.cs index e7ccba0a78b..001185b4084 100644 --- a/src/core/Akka.Tests/Actor/Scheduler/TaskBasedScheduler_TellScheduler_Schedule_Tests.cs +++ b/src/core/Akka.Tests/Actor/Scheduler/TaskBasedScheduler_TellScheduler_Schedule_Tests.cs @@ -13,7 +13,6 @@ using Akka.TestKit.Xunit2.Attributes; using Akka.Util.Internal; using Xunit; -using Xunit.Extensions; namespace Akka.Tests.Actor.Scheduler { diff --git a/src/core/Akka.Tests/Actor/Setup/ActorSystemSetupSpec.cs b/src/core/Akka.Tests/Actor/Setup/ActorSystemSetupSpec.cs index dfe7a93f960..b40f26085fc 100644 --- a/src/core/Akka.Tests/Actor/Setup/ActorSystemSetupSpec.cs +++ b/src/core/Akka.Tests/Actor/Setup/ActorSystemSetupSpec.cs @@ -9,7 +9,6 @@ using System.Collections.Generic; using Akka.Actor; using Akka.Actor.Setup; -using Akka.TestKit; using Akka.Util; using FluentAssertions; using Xunit; diff --git a/src/core/Akka.Tests/Actor/Stash/ActorWithBoundedStashSpec.cs b/src/core/Akka.Tests/Actor/Stash/ActorWithBoundedStashSpec.cs index cbe97c19f48..eccc925a102 100644 --- a/src/core/Akka.Tests/Actor/Stash/ActorWithBoundedStashSpec.cs +++ b/src/core/Akka.Tests/Actor/Stash/ActorWithBoundedStashSpec.cs @@ -7,7 +7,6 @@ using System; using System.Text.RegularExpressions; -using System.Threading.Tasks; using Akka.Actor; using Akka.Configuration; using Akka.Dispatch; diff --git a/src/core/Akka.Tests/Actor/Stash/ActorWithStashSpec.cs b/src/core/Akka.Tests/Actor/Stash/ActorWithStashSpec.cs index 9637bde3594..dcd1c8177bf 100644 --- a/src/core/Akka.Tests/Actor/Stash/ActorWithStashSpec.cs +++ b/src/core/Akka.Tests/Actor/Stash/ActorWithStashSpec.cs @@ -13,7 +13,6 @@ using Akka.TestKit.Extensions; using Akka.TestKit.TestActors; using Akka.Tests.TestUtils; -using Akka.Tests.Util; using Xunit; namespace Akka.Tests.Actor.Stash diff --git a/src/core/Akka.Tests/Actor/Stash/StashCapacitySpecs.cs b/src/core/Akka.Tests/Actor/Stash/StashCapacitySpecs.cs index 065c6675d36..2b53f33a62b 100644 --- a/src/core/Akka.Tests/Actor/Stash/StashCapacitySpecs.cs +++ b/src/core/Akka.Tests/Actor/Stash/StashCapacitySpecs.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using System.Threading.Tasks; using Akka.Actor; using Akka.Configuration; diff --git a/src/core/Akka.Tests/Actor/StashMailboxSpec.cs b/src/core/Akka.Tests/Actor/StashMailboxSpec.cs index 6d182efc0ed..4fb9cfdf4f0 100644 --- a/src/core/Akka.Tests/Actor/StashMailboxSpec.cs +++ b/src/core/Akka.Tests/Actor/StashMailboxSpec.cs @@ -5,13 +5,10 @@ // //----------------------------------------------------------------------- -using System; using Akka.Actor; using Akka.Dispatch; -using Akka.Dispatch.MessageQueues; using Akka.TestKit; using Akka.TestKit.TestActors; -using Akka.Util.Internal; using Xunit; namespace Akka.Tests.Actor diff --git a/src/core/Akka.Tests/Actor/SupervisorHierarchySpec.cs b/src/core/Akka.Tests/Actor/SupervisorHierarchySpec.cs index 9325da7d0e0..5e94cea2b18 100644 --- a/src/core/Akka.Tests/Actor/SupervisorHierarchySpec.cs +++ b/src/core/Akka.Tests/Actor/SupervisorHierarchySpec.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Threading; using System.Threading.Tasks; using Akka.Actor; using Akka.Actor.Dsl; diff --git a/src/core/Akka.Tests/Actor/TimerSpec.cs b/src/core/Akka.Tests/Actor/TimerSpec.cs index 7223bc8cfca..f646566363e 100644 --- a/src/core/Akka.Tests/Actor/TimerSpec.cs +++ b/src/core/Akka.Tests/Actor/TimerSpec.cs @@ -8,13 +8,9 @@ using System; using System.Threading.Tasks; using Akka.Actor; -using Akka.Dispatch; -using Akka.Event; using Akka.TestKit; using Akka.Util.Internal; -using FluentAssertions; using Xunit; -using static Akka.Actor.FSMBase; namespace Akka.Tests.Actor { diff --git a/src/core/Akka.Tests/Configuration/ConfigurationSpec.cs b/src/core/Akka.Tests/Configuration/ConfigurationSpec.cs index ae080b12a96..6a1dd67da89 100644 --- a/src/core/Akka.Tests/Configuration/ConfigurationSpec.cs +++ b/src/core/Akka.Tests/Configuration/ConfigurationSpec.cs @@ -6,13 +6,10 @@ //----------------------------------------------------------------------- using System; -using System.IO; using Akka.Configuration.Hocon; -using System.Linq; using System.Threading; using System.Threading.Tasks; using Akka.Actor; -using Akka.Configuration; using Akka.Dispatch; using Akka.Event; using Akka.TestKit; diff --git a/src/core/Akka.Tests/Delivery/ProducerControllerSpec.cs b/src/core/Akka.Tests/Delivery/ProducerControllerSpec.cs index c39a1a79ac0..0ef6da4f1a9 100644 --- a/src/core/Akka.Tests/Delivery/ProducerControllerSpec.cs +++ b/src/core/Akka.Tests/Delivery/ProducerControllerSpec.cs @@ -6,7 +6,6 @@ // ----------------------------------------------------------------------- using System; -using System.Linq; using System.Threading.Tasks; using Akka.Actor; using Akka.Configuration; diff --git a/src/core/Akka.Tests/Dispatch/ActorMailboxSpec.cs b/src/core/Akka.Tests/Dispatch/ActorMailboxSpec.cs index 1a59b1da9ed..bb391eb9891 100644 --- a/src/core/Akka.Tests/Dispatch/ActorMailboxSpec.cs +++ b/src/core/Akka.Tests/Dispatch/ActorMailboxSpec.cs @@ -8,15 +8,10 @@ using System; using System.Collections.Generic; using System.Globalization; -using System.Linq; -using System.Reflection; -using System.Text; using System.Threading.Tasks; using Akka.TestKit; -using Akka.TestKit.TestActors; using Xunit; using Akka.Actor; -using Akka.Configuration; using Akka.Dispatch; using Akka.Dispatch.MessageQueues; using Akka.Util.Internal; diff --git a/src/core/Akka.Tests/Dispatch/MailboxesSpec.cs b/src/core/Akka.Tests/Dispatch/MailboxesSpec.cs index 4c2ca15b5fe..da4dd249ebe 100644 --- a/src/core/Akka.Tests/Dispatch/MailboxesSpec.cs +++ b/src/core/Akka.Tests/Dispatch/MailboxesSpec.cs @@ -6,22 +6,14 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; using System.Linq; -using System.Net; using System.Threading.Tasks; using Akka.Actor; using Akka.Dispatch; -using Akka.Dispatch.MessageQueues; using Akka.Dispatch.SysMsg; using Akka.TestKit; using Akka.TestKit.TestActors; -using Akka.Tests.Actor; -using Akka.Util.Internal; -using FluentAssertions; using FluentAssertions.Extensions; -using FsCheck; -using FsCheck.Xunit; using Xunit; using Config = Akka.Configuration.Config; diff --git a/src/core/Akka.Tests/Dispatch/XUnitAsyncTestsSanityCheck.cs b/src/core/Akka.Tests/Dispatch/XUnitAsyncTestsSanityCheck.cs index f367b64ac7b..6b680531044 100644 --- a/src/core/Akka.Tests/Dispatch/XUnitAsyncTestsSanityCheck.cs +++ b/src/core/Akka.Tests/Dispatch/XUnitAsyncTestsSanityCheck.cs @@ -5,12 +5,8 @@ // //----------------------------------------------------------------------- -using System; using System.Collections.Generic; -using System.Linq; -using System.Text; using System.Threading.Tasks; -using Akka.Actor; using Akka.Actor.Internal; using Akka.TestKit; using Xunit; diff --git a/src/core/Akka.Tests/Event/EventBusSpec.cs b/src/core/Akka.Tests/Event/EventBusSpec.cs index 07a35ca287a..3de09548e12 100644 --- a/src/core/Akka.Tests/Event/EventBusSpec.cs +++ b/src/core/Akka.Tests/Event/EventBusSpec.cs @@ -8,7 +8,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Reflection; using System.Threading.Tasks; using Akka.Actor; using Akka.Event; diff --git a/src/core/Akka.Tests/IO/UdpConnectedIntegrationSpec.cs b/src/core/Akka.Tests/IO/UdpConnectedIntegrationSpec.cs index 6b95f157af4..3976ce7e314 100644 --- a/src/core/Akka.Tests/IO/UdpConnectedIntegrationSpec.cs +++ b/src/core/Akka.Tests/IO/UdpConnectedIntegrationSpec.cs @@ -8,7 +8,6 @@ using System; using System.Linq; using System.Net; -using System.Threading; using System.Threading.Tasks; using Akka.Actor; using Akka.IO; diff --git a/src/core/Akka.Tests/IO/UdpIntegrationSpec.cs b/src/core/Akka.Tests/IO/UdpIntegrationSpec.cs index 1dc0bee8a79..82764a44f58 100644 --- a/src/core/Akka.Tests/IO/UdpIntegrationSpec.cs +++ b/src/core/Akka.Tests/IO/UdpIntegrationSpec.cs @@ -9,7 +9,6 @@ using System.Linq; using System.Net; using System.Net.Sockets; -using System.Threading; using Akka.Actor; using Akka.IO; using Akka.IO.Buffers; diff --git a/src/core/Akka.Tests/Loggers/LoggerSpec.cs b/src/core/Akka.Tests/Loggers/LoggerSpec.cs index ddb07a8f4a3..16a04f68954 100644 --- a/src/core/Akka.Tests/Loggers/LoggerSpec.cs +++ b/src/core/Akka.Tests/Loggers/LoggerSpec.cs @@ -8,15 +8,11 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Threading; using System.Threading.Tasks; using Akka.Actor; -using Akka.Actor.Internal; -using Akka.Actor.Setup; using Akka.Configuration; using Akka.Event; using Akka.TestKit; -using Akka.Tests.Shared.Internals; using Xunit; using Xunit.Abstractions; using FluentAssertions; diff --git a/src/core/Akka.Tests/Loggers/ShutdownLoggerSpec.cs b/src/core/Akka.Tests/Loggers/ShutdownLoggerSpec.cs index c4973d8cb6f..310a697a3ed 100644 --- a/src/core/Akka.Tests/Loggers/ShutdownLoggerSpec.cs +++ b/src/core/Akka.Tests/Loggers/ShutdownLoggerSpec.cs @@ -8,7 +8,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Reflection; using System.Threading.Tasks; using Akka.Actor; using Akka.Configuration; diff --git a/src/core/Akka.Tests/MatchHandler/PartialActionBuilderTests.cs b/src/core/Akka.Tests/MatchHandler/PartialActionBuilderTests.cs index 75ee1d080a8..bdcfe6a5b9e 100644 --- a/src/core/Akka.Tests/MatchHandler/PartialActionBuilderTests.cs +++ b/src/core/Akka.Tests/MatchHandler/PartialActionBuilderTests.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Reflection; using Akka.TestKit; using Akka.Tools.MatchHandler; using Xunit; diff --git a/src/core/Akka.Tests/Pattern/BackoffOnRestartSupervisorSpec.cs b/src/core/Akka.Tests/Pattern/BackoffOnRestartSupervisorSpec.cs index 7c37329139a..90f3b5067bf 100644 --- a/src/core/Akka.Tests/Pattern/BackoffOnRestartSupervisorSpec.cs +++ b/src/core/Akka.Tests/Pattern/BackoffOnRestartSupervisorSpec.cs @@ -12,7 +12,6 @@ using Akka.TestKit; using Xunit; using FluentAssertions; -using System.Threading; using FluentAssertions.Extensions; using System.Threading.Tasks; diff --git a/src/core/Akka.Tests/Pattern/BackoffSupervisorSpec.cs b/src/core/Akka.Tests/Pattern/BackoffSupervisorSpec.cs index c036b35ad8f..f5da6c2f586 100644 --- a/src/core/Akka.Tests/Pattern/BackoffSupervisorSpec.cs +++ b/src/core/Akka.Tests/Pattern/BackoffSupervisorSpec.cs @@ -8,7 +8,6 @@ using System; using System.Collections; using System.Collections.Generic; -using System.Threading; using System.Threading.Tasks; using Akka.Actor; using Akka.Pattern; diff --git a/src/core/Akka.Tests/Properties/AssemblyInfo.cs b/src/core/Akka.Tests/Properties/AssemblyInfo.cs index 7be681ddfbd..1a884cf5188 100644 --- a/src/core/Akka.Tests/Properties/AssemblyInfo.cs +++ b/src/core/Akka.Tests/Properties/AssemblyInfo.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/src/core/Akka.Tests/Routing/BroadcastSpec.cs b/src/core/Akka.Tests/Routing/BroadcastSpec.cs index 3d53cabc6c1..a7708bd7771 100644 --- a/src/core/Akka.Tests/Routing/BroadcastSpec.cs +++ b/src/core/Akka.Tests/Routing/BroadcastSpec.cs @@ -5,14 +5,12 @@ // //----------------------------------------------------------------------- -using System; using System.Collections.Generic; using Akka.Actor; using Akka.Routing; using Akka.TestKit; using Akka.Util.Internal; using Xunit; -using Xunit.Abstractions; using FluentAssertions; namespace Akka.Tests.Routing diff --git a/src/core/Akka.Tests/Routing/ConsistentHashingRouterSpec.cs b/src/core/Akka.Tests/Routing/ConsistentHashingRouterSpec.cs index 0b59c180b3c..06ca3ce4cea 100644 --- a/src/core/Akka.Tests/Routing/ConsistentHashingRouterSpec.cs +++ b/src/core/Akka.Tests/Routing/ConsistentHashingRouterSpec.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/src/core/Akka.Tests/Routing/ResizerSpec.cs b/src/core/Akka.Tests/Routing/ResizerSpec.cs index 276a019bab5..d6413e49172 100644 --- a/src/core/Akka.Tests/Routing/ResizerSpec.cs +++ b/src/core/Akka.Tests/Routing/ResizerSpec.cs @@ -7,7 +7,6 @@ using System; using System.Linq; -using System.Threading; using System.Threading.Tasks; using Akka.Actor; using Akka.Configuration; diff --git a/src/core/Akka.Tests/Routing/RouteeCreationSpec.cs b/src/core/Akka.Tests/Routing/RouteeCreationSpec.cs index 2e838b88b97..36f2e0c9f0c 100644 --- a/src/core/Akka.Tests/Routing/RouteeCreationSpec.cs +++ b/src/core/Akka.Tests/Routing/RouteeCreationSpec.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- -using System; using Akka.Actor; using Akka.Routing; using Akka.TestKit; diff --git a/src/core/Akka.Tests/Routing/RoutingSpec.cs b/src/core/Akka.Tests/Routing/RoutingSpec.cs index 59480c37428..d4a859b28b5 100644 --- a/src/core/Akka.Tests/Routing/RoutingSpec.cs +++ b/src/core/Akka.Tests/Routing/RoutingSpec.cs @@ -7,7 +7,6 @@ using System; using System.Collections.Generic; -using System.Diagnostics; using System.Linq; using Akka.Configuration; using Akka.Actor; @@ -15,7 +14,6 @@ using Akka.Routing; using Akka.TestKit; using Akka.TestKit.TestActors; -using Akka.Tests.TestUtils; using Akka.Util.Internal; using FluentAssertions; using FluentAssertions.Extensions; diff --git a/src/core/Akka.Tests/Routing/ScatterGatherFirstCompletedSpec.cs b/src/core/Akka.Tests/Routing/ScatterGatherFirstCompletedSpec.cs index 9d3308149b3..1e931099d0d 100644 --- a/src/core/Akka.Tests/Routing/ScatterGatherFirstCompletedSpec.cs +++ b/src/core/Akka.Tests/Routing/ScatterGatherFirstCompletedSpec.cs @@ -7,7 +7,6 @@ using System; using System.Collections.Generic; -using System.Threading; using System.Threading.Tasks; using Akka.Actor; using Akka.Routing; diff --git a/src/core/Akka.Tests/Routing/SmallestMailboxSpec.cs b/src/core/Akka.Tests/Routing/SmallestMailboxSpec.cs index 7b8ae6817a5..fa43e1c0b73 100644 --- a/src/core/Akka.Tests/Routing/SmallestMailboxSpec.cs +++ b/src/core/Akka.Tests/Routing/SmallestMailboxSpec.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using System.Collections.Concurrent; using Akka.Actor; using Akka.Routing; diff --git a/src/core/Akka.Tests/Routing/TailChoppingSpec.cs b/src/core/Akka.Tests/Routing/TailChoppingSpec.cs index 94a7ec0345e..021c0521fa9 100644 --- a/src/core/Akka.Tests/Routing/TailChoppingSpec.cs +++ b/src/core/Akka.Tests/Routing/TailChoppingSpec.cs @@ -8,7 +8,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Threading; using Akka.Actor; using Akka.Routing; using Akka.TestKit; diff --git a/src/core/Akka.Tests/Serialization/CustomSerializerSpec.cs b/src/core/Akka.Tests/Serialization/CustomSerializerSpec.cs index ad7f4a0549b..af3c807aa24 100644 --- a/src/core/Akka.Tests/Serialization/CustomSerializerSpec.cs +++ b/src/core/Akka.Tests/Serialization/CustomSerializerSpec.cs @@ -7,17 +7,12 @@ using System; using System.Collections.Immutable; -using System.Linq; using System.Text; using Akka.Actor; using Akka.Actor.Setup; using Akka.Configuration; using Akka.Event; using Akka.Serialization; -using Akka.TestKit; -using Akka.TestKit.Xunit2.Internals; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; using Xunit; using FluentAssertions; using Xunit.Abstractions; diff --git a/src/core/Akka.Tests/Serialization/NewtonSoftJsonSerializerSetupSpec.cs b/src/core/Akka.Tests/Serialization/NewtonSoftJsonSerializerSetupSpec.cs index d4e1df6893c..173cd445efe 100644 --- a/src/core/Akka.Tests/Serialization/NewtonSoftJsonSerializerSetupSpec.cs +++ b/src/core/Akka.Tests/Serialization/NewtonSoftJsonSerializerSetupSpec.cs @@ -5,14 +5,10 @@ // //----------------------------------------------------------------------- -using System; using System.Collections.Generic; using System.Linq; -using System.Text; -using System.Threading.Tasks; using Akka.Actor; using Akka.Actor.Setup; -using Akka.Configuration; using Akka.Serialization; using Akka.TestKit; using Akka.TestKit.Configs; diff --git a/src/core/Akka.Tests/Serialization/NewtonsoftJsonConfigSpec.cs b/src/core/Akka.Tests/Serialization/NewtonsoftJsonConfigSpec.cs index 92605db1eca..ebd4bbfad8e 100644 --- a/src/core/Akka.Tests/Serialization/NewtonsoftJsonConfigSpec.cs +++ b/src/core/Akka.Tests/Serialization/NewtonsoftJsonConfigSpec.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Linq; using Akka.Actor; using Akka.Configuration; using Akka.Serialization; diff --git a/src/core/Akka.Tests/Serialization/SerializationSpec.cs b/src/core/Akka.Tests/Serialization/SerializationSpec.cs index 28de99f5f4f..591a9e8734f 100644 --- a/src/core/Akka.Tests/Serialization/SerializationSpec.cs +++ b/src/core/Akka.Tests/Serialization/SerializationSpec.cs @@ -6,15 +6,10 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Concurrent; using System.Collections.Generic; -using System.IO; -using System.Reflection; using System.Runtime.Serialization; -using System.Text.RegularExpressions; using Akka.Actor; using Akka.Configuration; -using Akka.Dispatch.SysMsg; using Akka.Routing; using Akka.Serialization; using Akka.TestKit; diff --git a/src/core/Akka.Tests/Util/AkkaVersionSpec.cs b/src/core/Akka.Tests/Util/AkkaVersionSpec.cs index 341f72589ab..bd500aec2a4 100644 --- a/src/core/Akka.Tests/Util/AkkaVersionSpec.cs +++ b/src/core/Akka.Tests/Util/AkkaVersionSpec.cs @@ -6,8 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Collections; -using System.Collections.Generic; using Akka.TestKit; using Akka.Util; using FluentAssertions; diff --git a/src/core/Akka.Tests/Util/Internal/ExtensionsTests.cs b/src/core/Akka.Tests/Util/Internal/ExtensionsTests.cs index a7112eb53ab..c2b3c0a8ab8 100644 --- a/src/core/Akka.Tests/Util/Internal/ExtensionsTests.cs +++ b/src/core/Akka.Tests/Util/Internal/ExtensionsTests.cs @@ -12,7 +12,6 @@ using Akka.Util.Internal; using FluentAssertions; using FsCheck; -using FsCheck.Xunit; using Xunit; namespace Akka.Tests.Util.Internal diff --git a/src/core/Akka/Actor/ActorBase.Lifecycle.cs b/src/core/Akka/Actor/ActorBase.Lifecycle.cs index 67aeecab5b6..f5ffeabf7e4 100644 --- a/src/core/Akka/Actor/ActorBase.Lifecycle.cs +++ b/src/core/Akka/Actor/ActorBase.Lifecycle.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Linq; using Akka.Util.Internal; namespace Akka.Actor diff --git a/src/core/Akka/Actor/ActorCell.DeathWatch.cs b/src/core/Akka/Actor/ActorCell.DeathWatch.cs index 92c224356c5..1d659564ec7 100644 --- a/src/core/Akka/Actor/ActorCell.DeathWatch.cs +++ b/src/core/Akka/Actor/ActorCell.DeathWatch.cs @@ -10,7 +10,6 @@ using Akka.Dispatch.SysMsg; using Akka.Event; using Akka.Util; -using Akka.Util.Internal; namespace Akka.Actor { diff --git a/src/core/Akka/Actor/ActorCell.FaultHandling.cs b/src/core/Akka/Actor/ActorCell.FaultHandling.cs index 6d5b504a336..fb894c54c6c 100644 --- a/src/core/Akka/Actor/ActorCell.FaultHandling.cs +++ b/src/core/Akka/Actor/ActorCell.FaultHandling.cs @@ -8,9 +8,7 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Runtime.CompilerServices; using System.Runtime.ExceptionServices; -using System.Threading; using Akka.Actor.Internal; using Akka.Dispatch.SysMsg; using Akka.Event; diff --git a/src/core/Akka/Actor/ActorCell.cs b/src/core/Akka/Actor/ActorCell.cs index d87f2aaccfd..2eef6572faf 100644 --- a/src/core/Akka/Actor/ActorCell.cs +++ b/src/core/Akka/Actor/ActorCell.cs @@ -12,9 +12,7 @@ using Akka.Dispatch; using Akka.Dispatch.SysMsg; using Akka.Event; -using System.Reflection; using System.Runtime.Serialization; -using Akka.Serialization; using Akka.Util; using Assert = System.Diagnostics.Debug; diff --git a/src/core/Akka/Actor/ActorProducerPipeline.cs b/src/core/Akka/Actor/ActorProducerPipeline.cs index 62e1537f006..9188d84fa0f 100644 --- a/src/core/Akka/Actor/ActorProducerPipeline.cs +++ b/src/core/Akka/Actor/ActorProducerPipeline.cs @@ -10,7 +10,6 @@ using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; -using System.Reflection; using Akka.Event; namespace Akka.Actor diff --git a/src/core/Akka/Actor/ActorSystem.cs b/src/core/Akka/Actor/ActorSystem.cs index 8ba74b26568..e08e587f2ef 100644 --- a/src/core/Akka/Actor/ActorSystem.cs +++ b/src/core/Akka/Actor/ActorSystem.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Threading; using System.Threading.Tasks; using Akka.Actor.Internal; using Akka.Actor.Setup; diff --git a/src/core/Akka/Actor/Address.cs b/src/core/Akka/Actor/Address.cs index 95eba7e3752..9b65b769d97 100644 --- a/src/core/Akka/Actor/Address.cs +++ b/src/core/Akka/Actor/Address.cs @@ -7,10 +7,7 @@ using System; using System.Collections.Generic; -using System.Diagnostics; using System.Linq; -using System.Text; -using System.Xml.Xsl; using Akka.Util; namespace Akka.Actor diff --git a/src/core/Akka/Actor/ChildrenContainer/Internal/EmptyChildrenContainer.cs b/src/core/Akka/Actor/ChildrenContainer/Internal/EmptyChildrenContainer.cs index 1747d14ba4e..ffcf954c113 100644 --- a/src/core/Akka/Actor/ChildrenContainer/Internal/EmptyChildrenContainer.cs +++ b/src/core/Akka/Actor/ChildrenContainer/Internal/EmptyChildrenContainer.cs @@ -7,7 +7,6 @@ using System.Collections.Generic; using System.Collections.Immutable; -using Akka.Util.Internal.Collections; namespace Akka.Actor.Internal { diff --git a/src/core/Akka/Actor/ChildrenContainer/Internal/NormalChildrenContainer.cs b/src/core/Akka/Actor/ChildrenContainer/Internal/NormalChildrenContainer.cs index 8f31324a7c0..57a7a1d78c1 100644 --- a/src/core/Akka/Actor/ChildrenContainer/Internal/NormalChildrenContainer.cs +++ b/src/core/Akka/Actor/ChildrenContainer/Internal/NormalChildrenContainer.cs @@ -8,7 +8,6 @@ using System.Collections.Immutable; using System.Text; using Akka.Util.Internal; -using Akka.Util.Internal.Collections; namespace Akka.Actor.Internal { diff --git a/src/core/Akka/Actor/ChildrenContainer/Internal/TerminatingChildrenContainer.cs b/src/core/Akka/Actor/ChildrenContainer/Internal/TerminatingChildrenContainer.cs index a2b6cb44af0..b8e5fffa807 100644 --- a/src/core/Akka/Actor/ChildrenContainer/Internal/TerminatingChildrenContainer.cs +++ b/src/core/Akka/Actor/ChildrenContainer/Internal/TerminatingChildrenContainer.cs @@ -9,7 +9,6 @@ using System.Collections.Immutable; using System.Text; using Akka.Util.Internal; -using Akka.Util.Internal.Collections; namespace Akka.Actor.Internal { diff --git a/src/core/Akka/Actor/CoordinatedShutdown.cs b/src/core/Akka/Actor/CoordinatedShutdown.cs index 96029d19e0f..2f597ba0df2 100644 --- a/src/core/Akka/Actor/CoordinatedShutdown.cs +++ b/src/core/Akka/Actor/CoordinatedShutdown.cs @@ -10,14 +10,12 @@ using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; -using System.Threading; using System.Threading.Tasks; using Akka.Configuration; using Akka.Event; using Akka.Util; using Akka.Util.Internal; using static Akka.Pattern.FutureTimeoutSupport; -using static Akka.Util.Internal.TaskEx; using Config = Akka.Configuration.Config; namespace Akka.Actor diff --git a/src/core/Akka/Actor/ExtendedActorSystem.cs b/src/core/Akka/Actor/ExtendedActorSystem.cs index 689c89566ca..d4bef2cc77c 100644 --- a/src/core/Akka/Actor/ExtendedActorSystem.cs +++ b/src/core/Akka/Actor/ExtendedActorSystem.cs @@ -5,8 +5,6 @@ // //----------------------------------------------------------------------- -using System; - namespace Akka.Actor { /// diff --git a/src/core/Akka/Actor/FSM.cs b/src/core/Akka/Actor/FSM.cs index 058af405d24..b28ce2da5d6 100644 --- a/src/core/Akka/Actor/FSM.cs +++ b/src/core/Akka/Actor/FSM.cs @@ -8,7 +8,6 @@ using System; using System.Collections.Generic; using System.Diagnostics; -using System.Linq; using Akka.Actor.Internal; using Akka.Event; using Akka.Pattern; diff --git a/src/core/Akka/Actor/Futures.cs b/src/core/Akka/Actor/Futures.cs index 8a7123760a6..0bef206b0fd 100644 --- a/src/core/Akka/Actor/Futures.cs +++ b/src/core/Akka/Actor/Futures.cs @@ -6,12 +6,10 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Threading; using System.Threading.Tasks; -using Akka.Actor.Internal; using Akka.Dispatch.SysMsg; using Akka.Util; using Akka.Util.Internal; diff --git a/src/core/Akka/Actor/GracefulStopSupport.cs b/src/core/Akka/Actor/GracefulStopSupport.cs index 5432da9dc42..a86eecba10e 100644 --- a/src/core/Akka/Actor/GracefulStopSupport.cs +++ b/src/core/Akka/Actor/GracefulStopSupport.cs @@ -6,11 +6,8 @@ //----------------------------------------------------------------------- using System; -using System.Runtime.InteropServices; -using System.Threading; using System.Threading.Tasks; using Akka.Dispatch.SysMsg; -using Akka.Util.Internal; namespace Akka.Actor { diff --git a/src/core/Akka/Actor/IUntypedActorContext.cs b/src/core/Akka/Actor/IUntypedActorContext.cs index 88343057e51..27c642eb94e 100644 --- a/src/core/Akka/Actor/IUntypedActorContext.cs +++ b/src/core/Akka/Actor/IUntypedActorContext.cs @@ -5,8 +5,6 @@ // //----------------------------------------------------------------------- -using System; - namespace Akka.Actor { /// diff --git a/src/core/Akka/Actor/Internal/ActorSystemImpl.cs b/src/core/Akka/Actor/Internal/ActorSystemImpl.cs index 8525451f5d8..814e5ff6451 100644 --- a/src/core/Akka/Actor/Internal/ActorSystemImpl.cs +++ b/src/core/Akka/Actor/Internal/ActorSystemImpl.cs @@ -16,7 +16,6 @@ using Akka.Dispatch; using Akka.Dispatch.SysMsg; using Akka.Event; -using System.Reflection; using System.Text; using Akka.Actor.Setup; using Akka.Serialization; diff --git a/src/core/Akka/Actor/LocalActorRef.cs b/src/core/Akka/Actor/LocalActorRef.cs index 838613b7e67..a422096a970 100644 --- a/src/core/Akka/Actor/LocalActorRef.cs +++ b/src/core/Akka/Actor/LocalActorRef.cs @@ -7,11 +7,9 @@ using System; using System.Collections.Generic; -using System.Linq; using Akka.Actor.Internal; using Akka.Dispatch; using Akka.Dispatch.SysMsg; -using Akka.Util.Internal; using Akka.Util.Internal.Collections; namespace Akka.Actor diff --git a/src/core/Akka/Actor/PipeToSupport.cs b/src/core/Akka/Actor/PipeToSupport.cs index d48a7379831..6a375db5d13 100644 --- a/src/core/Akka/Actor/PipeToSupport.cs +++ b/src/core/Akka/Actor/PipeToSupport.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Threading; using System.Threading.Tasks; namespace Akka.Actor diff --git a/src/core/Akka/Actor/Props.cs b/src/core/Akka/Actor/Props.cs index 502c92c9504..f17a30c727b 100644 --- a/src/core/Akka/Actor/Props.cs +++ b/src/core/Akka/Actor/Props.cs @@ -9,7 +9,6 @@ using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; -using Akka.Configuration; using Akka.Dispatch; using Akka.Routing; using Akka.Util; diff --git a/src/core/Akka/Actor/RootGuardianActorRef.cs b/src/core/Akka/Actor/RootGuardianActorRef.cs index 3042148eade..ba398aafd01 100644 --- a/src/core/Akka/Actor/RootGuardianActorRef.cs +++ b/src/core/Akka/Actor/RootGuardianActorRef.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using System.Collections.Generic; using Akka.Actor.Internal; using Akka.Annotations; diff --git a/src/core/Akka/Actor/Scheduler/ITimerScheduler.cs b/src/core/Akka/Actor/Scheduler/ITimerScheduler.cs index 1d03daaf04a..513f8bde04c 100644 --- a/src/core/Akka/Actor/Scheduler/ITimerScheduler.cs +++ b/src/core/Akka/Actor/Scheduler/ITimerScheduler.cs @@ -6,8 +6,6 @@ //----------------------------------------------------------------------- using System; -using Akka.Actor.Scheduler; -using Akka.Event; namespace Akka.Actor { diff --git a/src/core/Akka/Actor/Scheduler/SchedulerBase.cs b/src/core/Akka/Actor/Scheduler/SchedulerBase.cs index ff57f975964..335c0ded88c 100644 --- a/src/core/Akka/Actor/Scheduler/SchedulerBase.cs +++ b/src/core/Akka/Actor/Scheduler/SchedulerBase.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Threading; using Akka.Configuration; using Akka.Dispatch; using Akka.Event; diff --git a/src/core/Akka/Actor/Setup/ActorSystemSetup.cs b/src/core/Akka/Actor/Setup/ActorSystemSetup.cs index 2f9acebc84b..1bcefc1d7f2 100644 --- a/src/core/Akka/Actor/Setup/ActorSystemSetup.cs +++ b/src/core/Akka/Actor/Setup/ActorSystemSetup.cs @@ -9,7 +9,6 @@ using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; -using Akka.Annotations; using Akka.Util; namespace Akka.Actor.Setup diff --git a/src/core/Akka/Actor/Stash/IActorStash.cs b/src/core/Akka/Actor/Stash/IActorStash.cs index 235d1ed03ad..5e9fa3eae29 100644 --- a/src/core/Akka/Actor/Stash/IActorStash.cs +++ b/src/core/Akka/Actor/Stash/IActorStash.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Reflection; namespace Akka.Actor { diff --git a/src/core/Akka/Actor/SupervisorStrategy.cs b/src/core/Akka/Actor/SupervisorStrategy.cs index 14d70a77b26..97174535248 100644 --- a/src/core/Akka/Actor/SupervisorStrategy.cs +++ b/src/core/Akka/Actor/SupervisorStrategy.cs @@ -8,7 +8,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Reflection; using System.Threading; using Akka.Actor.Internal; using Akka.Configuration; diff --git a/src/core/Akka/Actor/WatchAsyncSupport.cs b/src/core/Akka/Actor/WatchAsyncSupport.cs index d3034288178..e6c215dc3c2 100644 --- a/src/core/Akka/Actor/WatchAsyncSupport.cs +++ b/src/core/Akka/Actor/WatchAsyncSupport.cs @@ -9,7 +9,6 @@ using System.Threading; using System.Threading.Tasks; using Akka.Dispatch.SysMsg; -using Akka.Util.Internal; namespace Akka.Actor { diff --git a/src/core/Akka/Configuration/Hocon/HoconTokenizer.cs b/src/core/Akka/Configuration/Hocon/HoconTokenizer.cs index 3772f587bb1..9c2186e030a 100644 --- a/src/core/Akka/Configuration/Hocon/HoconTokenizer.cs +++ b/src/core/Akka/Configuration/Hocon/HoconTokenizer.cs @@ -7,8 +7,6 @@ using System; using System.Collections.Generic; -using System.Globalization; -using System.Linq; using System.Text; namespace Akka.Configuration.Hocon diff --git a/src/core/Akka/Delivery/Internal/ProducerControllerImpl.cs b/src/core/Akka/Delivery/Internal/ProducerControllerImpl.cs index d011d2b5c51..26fba939cf1 100644 --- a/src/core/Akka/Delivery/Internal/ProducerControllerImpl.cs +++ b/src/core/Akka/Delivery/Internal/ProducerControllerImpl.cs @@ -9,7 +9,6 @@ using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; -using System.Threading; using Akka.Actor; using Akka.Event; using Akka.IO; diff --git a/src/core/Akka/Dispatch/AbstractDispatcher.cs b/src/core/Akka/Dispatch/AbstractDispatcher.cs index 4198d51c320..4af7a592d08 100644 --- a/src/core/Akka/Dispatch/AbstractDispatcher.cs +++ b/src/core/Akka/Dispatch/AbstractDispatcher.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; using Akka.Actor; diff --git a/src/core/Akka/Dispatch/CurrentSynchronizationContextDispatcher.cs b/src/core/Akka/Dispatch/CurrentSynchronizationContextDispatcher.cs index e540c8c7724..5a7b44ac8e5 100644 --- a/src/core/Akka/Dispatch/CurrentSynchronizationContextDispatcher.cs +++ b/src/core/Akka/Dispatch/CurrentSynchronizationContextDispatcher.cs @@ -6,9 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using System.Threading.Tasks; using Akka.Actor; using Akka.Configuration; diff --git a/src/core/Akka/Dispatch/IDispatcherPrerequisites.cs b/src/core/Akka/Dispatch/IDispatcherPrerequisites.cs index cd7e026dccd..067f2513f62 100644 --- a/src/core/Akka/Dispatch/IDispatcherPrerequisites.cs +++ b/src/core/Akka/Dispatch/IDispatcherPrerequisites.cs @@ -5,9 +5,6 @@ // //----------------------------------------------------------------------- -using Akka.Actor; -using Akka.Event; - namespace Akka.Dispatch { diff --git a/src/core/Akka/Dispatch/Mailbox.cs b/src/core/Akka/Dispatch/Mailbox.cs index 4a4efef5083..c7a36c81431 100644 --- a/src/core/Akka/Dispatch/Mailbox.cs +++ b/src/core/Akka/Dispatch/Mailbox.cs @@ -7,7 +7,6 @@ using System; using System.Diagnostics; -using System.Linq.Expressions; using System.Runtime.CompilerServices; using System.Threading; using Akka.Actor; diff --git a/src/core/Akka/Dispatch/Mailboxes.cs b/src/core/Akka/Dispatch/Mailboxes.cs index 84ad0c59abb..68fb016c76a 100644 --- a/src/core/Akka/Dispatch/Mailboxes.cs +++ b/src/core/Akka/Dispatch/Mailboxes.cs @@ -10,14 +10,12 @@ using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; -using System.Reflection; using Akka.Actor; using Akka.Annotations; using Akka.Configuration; using Akka.Dispatch.MessageQueues; using Akka.Event; using Akka.Util; -using Akka.Util.Internal; namespace Akka.Dispatch { diff --git a/src/core/Akka/Dispatch/MessageQueues/BlockingMessageQueue.cs b/src/core/Akka/Dispatch/MessageQueues/BlockingMessageQueue.cs index 234565402bc..476b9b40be2 100644 --- a/src/core/Akka/Dispatch/MessageQueues/BlockingMessageQueue.cs +++ b/src/core/Akka/Dispatch/MessageQueues/BlockingMessageQueue.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Threading; using Akka.Actor; namespace Akka.Dispatch.MessageQueues diff --git a/src/core/Akka/Dispatch/MessageQueues/UnboundedDequeMessageQueue.cs b/src/core/Akka/Dispatch/MessageQueues/UnboundedDequeMessageQueue.cs index 90235f4e524..8158fcef1bd 100644 --- a/src/core/Akka/Dispatch/MessageQueues/UnboundedDequeMessageQueue.cs +++ b/src/core/Akka/Dispatch/MessageQueues/UnboundedDequeMessageQueue.cs @@ -7,7 +7,6 @@ using System; using Akka.Actor; -using Akka.Configuration; namespace Akka.Dispatch.MessageQueues { diff --git a/src/core/Akka/Dispatch/ThreadPoolBuilder.cs b/src/core/Akka/Dispatch/ThreadPoolBuilder.cs index 8815e1bcea9..13f1273003e 100644 --- a/src/core/Akka/Dispatch/ThreadPoolBuilder.cs +++ b/src/core/Akka/Dispatch/ThreadPoolBuilder.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Threading; using Akka.Configuration; using Helios.Concurrency; diff --git a/src/core/Akka/Event/AddressTerminatedTopic.cs b/src/core/Akka/Event/AddressTerminatedTopic.cs index 744a2ec9be7..834420ca63a 100644 --- a/src/core/Akka/Event/AddressTerminatedTopic.cs +++ b/src/core/Akka/Event/AddressTerminatedTopic.cs @@ -5,11 +5,9 @@ // //----------------------------------------------------------------------- -using System; using System.Collections.Generic; using System.Linq; using Akka.Actor; -using Akka.Util; namespace Akka.Event { diff --git a/src/core/Akka/Event/EventStream.cs b/src/core/Akka/Event/EventStream.cs index 84086d8a7f1..d1dfed97e55 100644 --- a/src/core/Akka/Event/EventStream.cs +++ b/src/core/Akka/Event/EventStream.cs @@ -6,9 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; -using System.Collections.Immutable; -using System.Linq; using Akka.Actor; using Akka.Actor.Internal; using Akka.Dispatch; diff --git a/src/core/Akka/Event/EventStreamExtensions.cs b/src/core/Akka/Event/EventStreamExtensions.cs index ebe68f01c0d..9f21fbbdbfb 100644 --- a/src/core/Akka/Event/EventStreamExtensions.cs +++ b/src/core/Akka/Event/EventStreamExtensions.cs @@ -6,11 +6,6 @@ //----------------------------------------------------------------------- using Akka.Actor; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace Akka.Event { diff --git a/src/core/Akka/Event/ILoggingAdapter.cs b/src/core/Akka/Event/ILoggingAdapter.cs index 82c5aec7c61..79a821c6436 100644 --- a/src/core/Akka/Event/ILoggingAdapter.cs +++ b/src/core/Akka/Event/ILoggingAdapter.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; namespace Akka.Event { diff --git a/src/core/Akka/Event/LogMessage.cs b/src/core/Akka/Event/LogMessage.cs index 0d87bf4c390..19f85766622 100644 --- a/src/core/Akka/Event/LogMessage.cs +++ b/src/core/Akka/Event/LogMessage.cs @@ -8,7 +8,6 @@ using System; using System.Collections; using System.Collections.Generic; -using System.Linq; using Akka.Annotations; namespace Akka.Event diff --git a/src/core/Akka/Event/StandardOutLogger.cs b/src/core/Akka/Event/StandardOutLogger.cs index 343411e1724..972c5641b6d 100644 --- a/src/core/Akka/Event/StandardOutLogger.cs +++ b/src/core/Akka/Event/StandardOutLogger.cs @@ -9,7 +9,6 @@ using Akka.Actor; using Akka.Util; using System.Text; -using System.Threading; namespace Akka.Event { diff --git a/src/core/Akka/IO/Buffers/DirectBufferPool.cs b/src/core/Akka/IO/Buffers/DirectBufferPool.cs index 89082be9083..6ca3f8817c9 100644 --- a/src/core/Akka/IO/Buffers/DirectBufferPool.cs +++ b/src/core/Akka/IO/Buffers/DirectBufferPool.cs @@ -8,11 +8,9 @@ using System; using System.Collections.Concurrent; using System.Collections.Generic; -using System.Diagnostics; using System.Runtime.Serialization; using Akka.Actor; using Akka.Configuration; -using Akka.Event; using Debug = System.Diagnostics.Debug; namespace Akka.IO.Buffers diff --git a/src/core/Akka/IO/IPExtensions.cs b/src/core/Akka/IO/IPExtensions.cs index 63233ef4e12..813c27cbbaf 100644 --- a/src/core/Akka/IO/IPExtensions.cs +++ b/src/core/Akka/IO/IPExtensions.cs @@ -9,7 +9,6 @@ using System.Net; using System.Net.Sockets; using System.Reflection; -using System.Runtime.CompilerServices; namespace Akka.IO { diff --git a/src/core/Akka/IO/Inet.cs b/src/core/Akka/IO/Inet.cs index 2a7b967cdef..e7db2b33849 100644 --- a/src/core/Akka/IO/Inet.cs +++ b/src/core/Akka/IO/Inet.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using System.Net.Sockets; namespace Akka.IO diff --git a/src/core/Akka/IO/InetAddressDnsResolver.cs b/src/core/Akka/IO/InetAddressDnsResolver.cs index 2e1b8a64da3..30f9d631d58 100644 --- a/src/core/Akka/IO/InetAddressDnsResolver.cs +++ b/src/core/Akka/IO/InetAddressDnsResolver.cs @@ -6,9 +6,7 @@ //----------------------------------------------------------------------- using System.Linq; -using System.Net; using System.Net.Sockets; -using System.Runtime.ExceptionServices; using System.Threading.Tasks; using Akka.Actor; using Akka.Configuration; diff --git a/src/core/Akka/IO/SocketEventArgsPool.cs b/src/core/Akka/IO/SocketEventArgsPool.cs index bd8007f0875..1d5d32f4dca 100644 --- a/src/core/Akka/IO/SocketEventArgsPool.cs +++ b/src/core/Akka/IO/SocketEventArgsPool.cs @@ -7,12 +7,9 @@ using Akka.Actor; using System; -using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Net.Sockets; -using System.Runtime.CompilerServices; -using Akka.Annotations; using Akka.IO.Buffers; using Akka.Util; diff --git a/src/core/Akka/IO/TcpConnection.cs b/src/core/Akka/IO/TcpConnection.cs index 7e12a58b8b4..db0ef4f2f66 100644 --- a/src/core/Akka/IO/TcpConnection.cs +++ b/src/core/Akka/IO/TcpConnection.cs @@ -19,7 +19,6 @@ using Akka.IO.Buffers; using Akka.Pattern; using Akka.Util; -using Akka.Util.Internal; namespace Akka.IO { diff --git a/src/core/Akka/IO/TcpListener.cs b/src/core/Akka/IO/TcpListener.cs index 1b895a6614e..7b56698633c 100644 --- a/src/core/Akka/IO/TcpListener.cs +++ b/src/core/Akka/IO/TcpListener.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Net; using System.Net.Sockets; using Akka.Actor; using Akka.Dispatch; diff --git a/src/core/Akka/IO/UdpSettings.cs b/src/core/Akka/IO/UdpSettings.cs index 21389c6c67c..21842b3e014 100644 --- a/src/core/Akka/IO/UdpSettings.cs +++ b/src/core/Akka/IO/UdpSettings.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using Akka.Actor; using Akka.Configuration; diff --git a/src/core/Akka/Pattern/CircuitBreaker.cs b/src/core/Akka/Pattern/CircuitBreaker.cs index 309337a4421..35faa7791e7 100644 --- a/src/core/Akka/Pattern/CircuitBreaker.cs +++ b/src/core/Akka/Pattern/CircuitBreaker.cs @@ -7,7 +7,6 @@ using System; using System.Diagnostics; -using System.Runtime.ExceptionServices; using System.Threading; using System.Threading.Tasks; using Akka.Actor; diff --git a/src/core/Akka/Pattern/UserCalledFailException.cs b/src/core/Akka/Pattern/UserCalledFailException.cs index 51308b99e74..75ff6176bdc 100644 --- a/src/core/Akka/Pattern/UserCalledFailException.cs +++ b/src/core/Akka/Pattern/UserCalledFailException.cs @@ -5,10 +5,7 @@ // //----------------------------------------------------------------------- -using System; -using System.Collections.Generic; using System.Runtime.Serialization; -using System.Text; using Akka.Actor; namespace Akka.Pattern diff --git a/src/core/Akka/Properties/AssemblyInfo.cs b/src/core/Akka/Properties/AssemblyInfo.cs index 88f0dcf4c16..a48eaa872cd 100644 --- a/src/core/Akka/Properties/AssemblyInfo.cs +++ b/src/core/Akka/Properties/AssemblyInfo.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/src/core/Akka/Routing/Broadcast.cs b/src/core/Akka/Routing/Broadcast.cs index 45cf8658a1b..63b2a347999 100644 --- a/src/core/Akka/Routing/Broadcast.cs +++ b/src/core/Akka/Routing/Broadcast.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using System.Collections.Generic; using System.Linq; using Akka.Actor; diff --git a/src/core/Akka/Routing/ResizablePoolCell.cs b/src/core/Akka/Routing/ResizablePoolCell.cs index 7c3a522ff71..3c179e96453 100644 --- a/src/core/Akka/Routing/ResizablePoolCell.cs +++ b/src/core/Akka/Routing/ResizablePoolCell.cs @@ -6,12 +6,10 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; using System.Linq; using Akka.Actor; using Akka.Actor.Internal; using Akka.Dispatch; -using Akka.Dispatch.SysMsg; using Akka.Util; using Akka.Util.Internal; diff --git a/src/core/Akka/Routing/RoundRobin.cs b/src/core/Akka/Routing/RoundRobin.cs index 09a3c49861b..0977155934a 100644 --- a/src/core/Akka/Routing/RoundRobin.cs +++ b/src/core/Akka/Routing/RoundRobin.cs @@ -5,9 +5,7 @@ // //----------------------------------------------------------------------- -using System; using System.Collections.Generic; -using System.Linq; using System.Threading; using Akka.Actor; using Akka.Configuration; diff --git a/src/core/Akka/Routing/Router.cs b/src/core/Akka/Routing/Router.cs index cbc7af4c781..7fe10589c85 100644 --- a/src/core/Akka/Routing/Router.cs +++ b/src/core/Akka/Routing/Router.cs @@ -8,11 +8,9 @@ using System.Collections.Generic; using Akka.Actor; using System; -using System.Collections.Immutable; using System.Threading.Tasks; using System.Linq; using Akka.Annotations; -using Akka.Util.Internal; namespace Akka.Routing { diff --git a/src/core/Akka/Serialization/NewtonSoftJsonSerializerSetup.cs b/src/core/Akka/Serialization/NewtonSoftJsonSerializerSetup.cs index 0bcc63c876d..74d13ddbcd0 100644 --- a/src/core/Akka/Serialization/NewtonSoftJsonSerializerSetup.cs +++ b/src/core/Akka/Serialization/NewtonSoftJsonSerializerSetup.cs @@ -6,8 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; -using System.Text; using Akka.Actor.Setup; using Newtonsoft.Json; diff --git a/src/core/Akka/Serialization/Serialization.cs b/src/core/Akka/Serialization/Serialization.cs index 29392f5665a..9b7704fe4ec 100644 --- a/src/core/Akka/Serialization/Serialization.cs +++ b/src/core/Akka/Serialization/Serialization.cs @@ -11,7 +11,6 @@ using System.Collections.Immutable; using System.Linq; using System.Runtime.CompilerServices; -using System.Reflection; using System.Runtime.Serialization; using Akka.Actor; using Akka.Annotations; diff --git a/src/core/Akka/Serialization/SerializationSetup.cs b/src/core/Akka/Serialization/SerializationSetup.cs index 3679d70a40f..663b7fe0f46 100644 --- a/src/core/Akka/Serialization/SerializationSetup.cs +++ b/src/core/Akka/Serialization/SerializationSetup.cs @@ -6,9 +6,7 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; using System.Collections.Immutable; -using System.Text; using Akka.Actor; using Akka.Actor.Setup; diff --git a/src/core/Akka/Serialization/Serializer.cs b/src/core/Akka/Serialization/Serializer.cs index cba8b275d96..ddbe85f8b6c 100644 --- a/src/core/Akka/Serialization/Serializer.cs +++ b/src/core/Akka/Serialization/Serializer.cs @@ -6,14 +6,11 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; using System.Linq; -using System.Reflection; using System.Runtime.Serialization; using Akka.Actor; using Akka.Annotations; using Akka.Util; -using Akka.Configuration; namespace Akka.Serialization { diff --git a/src/core/Akka/Util/AppVersion.cs b/src/core/Akka/Util/AppVersion.cs index 32d19aebe11..c841e6807ef 100644 --- a/src/core/Akka/Util/AppVersion.cs +++ b/src/core/Akka/Util/AppVersion.cs @@ -6,11 +6,7 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; -using System.Linq; using System.Reflection; -using System.Runtime.CompilerServices; -using Akka.Configuration; using Newtonsoft.Json; namespace Akka.Util diff --git a/src/core/Akka/Util/Base64Encoding.cs b/src/core/Akka/Util/Base64Encoding.cs index 2390db0a82d..3a3a44a0fdf 100644 --- a/src/core/Akka/Util/Base64Encoding.cs +++ b/src/core/Akka/Util/Base64Encoding.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Text; namespace Akka.Util { diff --git a/src/core/Akka/Util/Internal/Collections/ListExtensions.cs b/src/core/Akka/Util/Internal/Collections/ListExtensions.cs index 01494ac1537..15e050a9ef2 100644 --- a/src/core/Akka/Util/Internal/Collections/ListExtensions.cs +++ b/src/core/Akka/Util/Internal/Collections/ListExtensions.cs @@ -5,7 +5,6 @@ // //----------------------------------------------------------------------- -using System; using System.Collections.Generic; using System.Collections.Immutable; diff --git a/src/core/Akka/Util/MatchHandler/CachedMatchCompiler.cs b/src/core/Akka/Util/MatchHandler/CachedMatchCompiler.cs index 12758d05bb8..d1e533324a7 100644 --- a/src/core/Akka/Util/MatchHandler/CachedMatchCompiler.cs +++ b/src/core/Akka/Util/MatchHandler/CachedMatchCompiler.cs @@ -8,9 +8,6 @@ using System; using System.Collections.Concurrent; using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Reflection.Emit; namespace Akka.Tools.MatchHandler { diff --git a/src/core/Akka/Util/MatchHandler/ILambdaExpressionCompiler.cs b/src/core/Akka/Util/MatchHandler/ILambdaExpressionCompiler.cs index c6e79867eed..7d80ea193bf 100644 --- a/src/core/Akka/Util/MatchHandler/ILambdaExpressionCompiler.cs +++ b/src/core/Akka/Util/MatchHandler/ILambdaExpressionCompiler.cs @@ -7,7 +7,6 @@ using System; using System.Linq.Expressions; -using System.Reflection.Emit; namespace Akka.Tools.MatchHandler { diff --git a/src/core/Akka/Util/MatchHandler/IMatchCompiler.cs b/src/core/Akka/Util/MatchHandler/IMatchCompiler.cs index 14093dc8f1e..9e445d1a105 100644 --- a/src/core/Akka/Util/MatchHandler/IMatchCompiler.cs +++ b/src/core/Akka/Util/MatchHandler/IMatchCompiler.cs @@ -6,8 +6,6 @@ //----------------------------------------------------------------------- using System.Collections.Generic; -using System.Reflection; -using System.Reflection.Emit; namespace Akka.Tools.MatchHandler { diff --git a/src/core/Akka/Util/MatchHandler/LambdaExpressionCompiler.cs b/src/core/Akka/Util/MatchHandler/LambdaExpressionCompiler.cs index a8c665c89f4..9a54dc52a8f 100644 --- a/src/core/Akka/Util/MatchHandler/LambdaExpressionCompiler.cs +++ b/src/core/Akka/Util/MatchHandler/LambdaExpressionCompiler.cs @@ -7,7 +7,6 @@ using System; using System.Linq.Expressions; -using System.Reflection.Emit; namespace Akka.Tools.MatchHandler { diff --git a/src/core/Akka/Util/MatchHandler/MatchBuilder.cs b/src/core/Akka/Util/MatchHandler/MatchBuilder.cs index cabb6cd4ddb..1ae7580ec39 100644 --- a/src/core/Akka/Util/MatchHandler/MatchBuilder.cs +++ b/src/core/Akka/Util/MatchHandler/MatchBuilder.cs @@ -7,8 +7,6 @@ using System; using System.Collections.Generic; -using System.Reflection; -using System.Reflection.Emit; namespace Akka.Tools.MatchHandler { diff --git a/src/core/Akka/Util/MatchHandler/MatchExpressionBuilder.cs b/src/core/Akka/Util/MatchHandler/MatchExpressionBuilder.cs index e55fcccdc49..36c535e75fd 100644 --- a/src/core/Akka/Util/MatchHandler/MatchExpressionBuilder.cs +++ b/src/core/Akka/Util/MatchHandler/MatchExpressionBuilder.cs @@ -9,7 +9,6 @@ using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; -using System.Reflection; namespace Akka.Tools.MatchHandler { diff --git a/src/core/Akka/Util/MessageBuffer.cs b/src/core/Akka/Util/MessageBuffer.cs index 4bc1be44f32..81825c0ed35 100644 --- a/src/core/Akka/Util/MessageBuffer.cs +++ b/src/core/Akka/Util/MessageBuffer.cs @@ -7,7 +7,6 @@ using Akka.Actor; using Akka.Event; -using System; using System.Collections; using System.Collections.Generic; using System.Linq; diff --git a/src/core/Akka/Util/Reflection/ExpressionExtensions.cs b/src/core/Akka/Util/Reflection/ExpressionExtensions.cs index 483f9e898ce..fbb235d9363 100644 --- a/src/core/Akka/Util/Reflection/ExpressionExtensions.cs +++ b/src/core/Akka/Util/Reflection/ExpressionExtensions.cs @@ -7,7 +7,6 @@ using System; using System.Collections.Concurrent; -using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Linq.Expressions; diff --git a/src/core/Akka/Util/SpanHacks.cs b/src/core/Akka/Util/SpanHacks.cs index d66b42fc994..c59391e8c71 100644 --- a/src/core/Akka/Util/SpanHacks.cs +++ b/src/core/Akka/Util/SpanHacks.cs @@ -6,7 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Globalization; namespace Akka.Util { diff --git a/src/core/Akka/Util/TypeExtensions.cs b/src/core/Akka/Util/TypeExtensions.cs index f4d3816b6fe..7e777fb6f00 100644 --- a/src/core/Akka/Util/TypeExtensions.cs +++ b/src/core/Akka/Util/TypeExtensions.cs @@ -7,7 +7,6 @@ using System; using System.Collections.Concurrent; -using System.Reflection; using System.Text.RegularExpressions; using Akka.Annotations; diff --git a/src/core/Akka/Util/WildcardIndex.cs b/src/core/Akka/Util/WildcardIndex.cs index 2536a6bca11..8dd40ba1686 100644 --- a/src/core/Akka/Util/WildcardIndex.cs +++ b/src/core/Akka/Util/WildcardIndex.cs @@ -8,7 +8,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Text; namespace Akka.Util { diff --git a/src/examples/Akka.Persistence.Custom.Tests/SqliteJournalSpec.cs b/src/examples/Akka.Persistence.Custom.Tests/SqliteJournalSpec.cs index ed4edcc841f..492f4aa6dac 100644 --- a/src/examples/Akka.Persistence.Custom.Tests/SqliteJournalSpec.cs +++ b/src/examples/Akka.Persistence.Custom.Tests/SqliteJournalSpec.cs @@ -6,13 +6,8 @@ //----------------------------------------------------------------------- using System; -using System.Data.Common; -using System.Threading.Tasks; using Akka.Configuration; using Akka.Persistence.TCK.Journal; -using Akka.Util.Internal; -using Microsoft.Data.Sqlite; -using Xunit; using Xunit.Abstractions; namespace Akka.Persistence.Custom.Tests diff --git a/src/examples/AspNetCore/Samples.Akka.AspNetCore/Actors/AkkaService.cs b/src/examples/AspNetCore/Samples.Akka.AspNetCore/Actors/AkkaService.cs index 2f5befb8f5e..0536a54b5b5 100644 --- a/src/examples/AspNetCore/Samples.Akka.AspNetCore/Actors/AkkaService.cs +++ b/src/examples/AspNetCore/Samples.Akka.AspNetCore/Actors/AkkaService.cs @@ -6,9 +6,7 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; using System.IO; -using System.Linq; using System.Threading; using System.Threading.Tasks; using Akka.Actor; diff --git a/src/examples/AspNetCore/Samples.Akka.AspNetCore/Messages/HashReply.cs b/src/examples/AspNetCore/Samples.Akka.AspNetCore/Messages/HashReply.cs index 0f390ea80f7..9891dee0953 100644 --- a/src/examples/AspNetCore/Samples.Akka.AspNetCore/Messages/HashReply.cs +++ b/src/examples/AspNetCore/Samples.Akka.AspNetCore/Messages/HashReply.cs @@ -5,10 +5,6 @@ // //----------------------------------------------------------------------- -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; using Akka.Actor; namespace Samples.Akka.AspNetCore.Messages diff --git a/src/examples/AspNetCore/Samples.Akka.AspNetCore/Program.cs b/src/examples/AspNetCore/Samples.Akka.AspNetCore/Program.cs index 3318ecb09ed..1ee59af6d1b 100644 --- a/src/examples/AspNetCore/Samples.Akka.AspNetCore/Program.cs +++ b/src/examples/AspNetCore/Samples.Akka.AspNetCore/Program.cs @@ -6,13 +6,7 @@ //----------------------------------------------------------------------- using Microsoft.AspNetCore.Hosting; -using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; -using Microsoft.Extensions.Logging; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; namespace Samples.Akka.AspNetCore { diff --git a/src/examples/AspNetCore/Samples.Akka.AspNetCore/Services/IHashService.cs b/src/examples/AspNetCore/Samples.Akka.AspNetCore/Services/IHashService.cs index 291aa16e3e2..b2020d69565 100644 --- a/src/examples/AspNetCore/Samples.Akka.AspNetCore/Services/IHashService.cs +++ b/src/examples/AspNetCore/Samples.Akka.AspNetCore/Services/IHashService.cs @@ -6,8 +6,6 @@ //----------------------------------------------------------------------- using System; -using System.Collections.Generic; -using System.Linq; using Akka.Util; namespace Samples.Akka.AspNetCore.Services diff --git a/src/examples/AspNetCore/Samples.Akka.AspNetCore/Services/IPublicHashingService.cs b/src/examples/AspNetCore/Samples.Akka.AspNetCore/Services/IPublicHashingService.cs index 2b43efc426e..81909e37a05 100644 --- a/src/examples/AspNetCore/Samples.Akka.AspNetCore/Services/IPublicHashingService.cs +++ b/src/examples/AspNetCore/Samples.Akka.AspNetCore/Services/IPublicHashingService.cs @@ -7,8 +7,6 @@ using System.Threading; using System.Threading.Tasks; -using Akka.Actor; -using Microsoft.Extensions.Hosting; using Samples.Akka.AspNetCore.Messages; namespace Samples.Akka.AspNetCore.Services diff --git a/src/examples/AspNetCore/Samples.Akka.AspNetCore/Startup.cs b/src/examples/AspNetCore/Samples.Akka.AspNetCore/Startup.cs index 15ec4cce6be..98c2a924d48 100644 --- a/src/examples/AspNetCore/Samples.Akka.AspNetCore/Startup.cs +++ b/src/examples/AspNetCore/Samples.Akka.AspNetCore/Startup.cs @@ -11,10 +11,7 @@ using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using System; -using System.Collections.Generic; -using System.Linq; using System.Threading; -using System.Threading.Tasks; using Samples.Akka.AspNetCore.Actors; using Samples.Akka.AspNetCore.Services; diff --git a/src/examples/Cluster/ClusterSharding/ClusterSharding.Node/Customers.cs b/src/examples/Cluster/ClusterSharding/ClusterSharding.Node/Customers.cs index d09a1012ae9..9bbf9c62512 100644 --- a/src/examples/Cluster/ClusterSharding/ClusterSharding.Node/Customers.cs +++ b/src/examples/Cluster/ClusterSharding/ClusterSharding.Node/Customers.cs @@ -7,7 +7,6 @@ using System; using System.Collections.Generic; -using System.Text; using Akka.Cluster.Sharding; using Akka.Persistence; diff --git a/src/examples/Cluster/Metrics/Samples.Cluster.Metrics.Common/FactorialFrontend.cs b/src/examples/Cluster/Metrics/Samples.Cluster.Metrics.Common/FactorialFrontend.cs index 81ed0cd9dcd..d7ee0269c97 100644 --- a/src/examples/Cluster/Metrics/Samples.Cluster.Metrics.Common/FactorialFrontend.cs +++ b/src/examples/Cluster/Metrics/Samples.Cluster.Metrics.Common/FactorialFrontend.cs @@ -10,12 +10,10 @@ using System.Collections.Immutable; using System.Linq; using System.Numerics; -using System.Text; using Akka.Actor; using Akka.Cluster.Metrics; using Akka.Cluster.Routing; using Akka.Event; -using Akka.Routing; namespace Samples.Cluster.Metrics.Common { diff --git a/src/examples/Cluster/Metrics/Samples.Cluster.Metrics.Common/MetricListener.cs b/src/examples/Cluster/Metrics/Samples.Cluster.Metrics.Common/MetricListener.cs index 2962bfa4053..bc726ba9ea4 100644 --- a/src/examples/Cluster/Metrics/Samples.Cluster.Metrics.Common/MetricListener.cs +++ b/src/examples/Cluster/Metrics/Samples.Cluster.Metrics.Common/MetricListener.cs @@ -5,15 +5,10 @@ // //----------------------------------------------------------------------- -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using Akka.Actor; using Akka.Cluster; using Akka.Cluster.Metrics; using Akka.Cluster.Metrics.Events; -using Akka.Cluster.Metrics.Serialization; using Akka.Event; using Akka.Util.Internal; diff --git a/src/examples/HelloAkka/HelloWorld/Program.cs b/src/examples/HelloAkka/HelloWorld/Program.cs index 7e9aafc567a..438bb89dfbc 100644 --- a/src/examples/HelloAkka/HelloWorld/Program.cs +++ b/src/examples/HelloAkka/HelloWorld/Program.cs @@ -6,7 +6,7 @@ //----------------------------------------------------------------------- #region akka-hello-world-main -using System; + using Akka.Actor; using HelloWorld; diff --git a/src/examples/PersistenceExample/Program.cs b/src/examples/PersistenceExample/Program.cs index 05070924d47..e6d14e204f4 100644 --- a/src/examples/PersistenceExample/Program.cs +++ b/src/examples/PersistenceExample/Program.cs @@ -7,8 +7,6 @@ using System; using Akka.Actor; -using Akka.Configuration; -using Akka.Persistence; namespace PersistenceExample {