summaryrefslogtreecommitdiff
path: root/csharp/src/Ice/EndpointFactoryManager.cs
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-12-29 21:01:16 +0100
committerJose <jose@zeroc.com>2016-12-29 21:01:16 +0100
commit54941beff80f3ebab2b15af4609c7ec8bc0d941e (patch)
treebdd4eb6573f5c4673c2129cc2eb616b1188fc543 /csharp/src/Ice/EndpointFactoryManager.cs
parentJavaScript Ice.Long fixes and improvements (diff)
downloadice-54941beff80f3ebab2b15af4609c7ec8bc0d941e.tar.bz2
ice-54941beff80f3ebab2b15af4609c7ec8bc0d941e.tar.xz
ice-54941beff80f3ebab2b15af4609c7ec8bc0d941e.zip
CSharp cleanup and fixes:
- Add EditorBrowsable(EditorBrowsableState.Never) to hidde internal public methods from Intellisense, see ICE-7448. - Remove Base64 and replace it with .NET System.Convert see ICE-7477 - Remove SysLogger as that was only used by Mono - Simplify ThreadPriority setting - Remove using statements that are not required - Normalize string, char, object spell, preferred over String, Char, Object - Shorthen qualifier names avoiding redundant scopes.
Diffstat (limited to 'csharp/src/Ice/EndpointFactoryManager.cs')
-rw-r--r--csharp/src/Ice/EndpointFactoryManager.cs6
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;