Skip to content

Commit 97f5adc

Browse files
committed
cleanup unused argument
1 parent 0c2ae72 commit 97f5adc

File tree

1 file changed

+2
-2
lines changed
  • src/Connections/Elasticsearch.Net.Connection.Thrift/Transport

1 file changed

+2
-2
lines changed

src/Connections/Elasticsearch.Net.Connection.Thrift/Transport/TSocket.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public class TSocket : TStreamTransport
3838
private Exception socketexception;
3939
private ManualResetEvent timeoutObject = new ManualResetEvent(false);
4040

41-
public TcpClient Connect(TcpClient _client)
41+
public TcpClient Connect()
4242
{
4343
timeoutObject.Reset();
4444
socketexception = null;
@@ -171,7 +171,7 @@ public override void Open()
171171
InitSocket();
172172
}
173173

174-
client = Connect(client);
174+
client = Connect();
175175

176176
inputStream = client.GetStream();
177177
outputStream = client.GetStream();

0 commit comments

Comments
 (0)