diff options
Diffstat (limited to 'csharp/src/Ice/EndpointFactoryManager.cs')
-rw-r--r-- | csharp/src/Ice/EndpointFactoryManager.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/csharp/src/Ice/EndpointFactoryManager.cs b/csharp/src/Ice/EndpointFactoryManager.cs index 5cf22c23ceb..814b3686372 100644 --- a/csharp/src/Ice/EndpointFactoryManager.cs +++ b/csharp/src/Ice/EndpointFactoryManager.cs @@ -9,10 +9,8 @@ namespace IceInternal { - using System.Collections.Generic; using System.Diagnostics; - using System.Text.RegularExpressions; public sealed class EndpointFactoryManager { @@ -28,7 +26,7 @@ namespace IceInternal { for(int i = 0; i < _factories.Count; i++) { - EndpointFactory f = (EndpointFactory)_factories[i]; + EndpointFactory f = _factories[i]; if(f.type() == factory.type()) { Debug.Assert(false); @@ -44,7 +42,7 @@ namespace IceInternal { for(int i = 0; i < _factories.Count; i++) { - EndpointFactory f = (EndpointFactory)_factories[i]; + EndpointFactory f = _factories[i]; if(f.type() == type) { return f; |