Repository: thrift Updated Branches: refs/heads/master e41e47c2b -> 5608e43ec
THRIFT-4209 warning CS0414 in T[TLS]ServerSocket.cs Client: C# Patch: Jens Geyer Project: http://git-wip-us.apache.org/repos/asf/thrift/repo Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/888b577e Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/888b577e Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/888b577e Branch: refs/heads/master Commit: 888b577ea678df7b486843b86a18cebd93002ba8 Parents: e41e47c Author: Jens Geyer <[email protected]> Authored: Wed May 24 21:32:28 2017 +0200 Committer: Jens Geyer <[email protected]> Committed: Sat May 27 11:26:19 2017 +0200 ---------------------------------------------------------------------- lib/csharp/src/Transport/TServerSocket.cs | 4 ++-- lib/csharp/src/Transport/TTLSServerSocket.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/thrift/blob/888b577e/lib/csharp/src/Transport/TServerSocket.cs ---------------------------------------------------------------------- diff --git a/lib/csharp/src/Transport/TServerSocket.cs b/lib/csharp/src/Transport/TServerSocket.cs index 453df34..e29a87e 100644 --- a/lib/csharp/src/Transport/TServerSocket.cs +++ b/lib/csharp/src/Transport/TServerSocket.cs @@ -90,13 +90,13 @@ namespace Thrift.Transport try { // Make server socket - this.server = TSocketVersionizer.CreateTcpListener(port); + this.server = TSocketVersionizer.CreateTcpListener(this.port); this.server.Server.NoDelay = true; } catch (Exception) { server = null; - throw new TTransportException("Could not create ServerSocket on port " + port + "."); + throw new TTransportException("Could not create ServerSocket on port " + this.port + "."); } } http://git-wip-us.apache.org/repos/asf/thrift/blob/888b577e/lib/csharp/src/Transport/TTLSServerSocket.cs ---------------------------------------------------------------------- diff --git a/lib/csharp/src/Transport/TTLSServerSocket.cs b/lib/csharp/src/Transport/TTLSServerSocket.cs index d51c217..24222b7 100644 --- a/lib/csharp/src/Transport/TTLSServerSocket.cs +++ b/lib/csharp/src/Transport/TTLSServerSocket.cs @@ -126,13 +126,13 @@ namespace Thrift.Transport try { // Create server socket - this.server = TSocketVersionizer.CreateTcpListener(port); + this.server = TSocketVersionizer.CreateTcpListener(this.port); this.server.Server.NoDelay = true; } catch (Exception) { server = null; - throw new TTransportException("Could not create ServerSocket on port " + port + "."); + throw new TTransportException("Could not create ServerSocket on port " + this.port + "."); } }
