diff options
Diffstat (limited to 'csharp/test/Ice/udp/Server.cs')
-rw-r--r-- | csharp/test/Ice/udp/Server.cs | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/csharp/test/Ice/udp/Server.cs b/csharp/test/Ice/udp/Server.cs index f7bbe9c7ae2..49886019a36 100644 --- a/csharp/test/Ice/udp/Server.cs +++ b/csharp/test/Ice/udp/Server.cs @@ -8,7 +8,6 @@ // ********************************************************************** using System; -using System.Diagnostics; using System.Reflection; [assembly: CLSCompliant(true)] @@ -26,9 +25,9 @@ public class Server int port = 12010; try { - port += args.Length == 1 ? System.Int32.Parse(args[0]) : 0; + port += args.Length == 1 ? Int32.Parse(args[0]) : 0; } - catch(System.FormatException) + catch(FormatException) { } properties.setProperty("ControlAdapter.Endpoints", "tcp -p " + port); @@ -85,9 +84,9 @@ public class Server communicator = Ice.Util.initialize(ref args, initData); status = run(args, communicator); } - catch(System.Exception ex) + catch(Exception ex) { - System.Console.Error.WriteLine(ex); + Console.Error.WriteLine(ex); status = 1; } @@ -99,7 +98,7 @@ public class Server } catch(Ice.LocalException ex) { - System.Console.Error.WriteLine(ex); + Console.Error.WriteLine(ex); status = 1; } } |