Skip to content
Unverified Commit 642940f5 authored by gulyaev13's avatar gulyaev13 Committed by GitHub
Browse files

Hacktoberfest - TcpSlaveAgentListener optimization (#5012)



* TcpSlaveAgentListener.ConnectionHandler.run: Move allocation of output Writer to error method

* TcpSlaveAgentListener.ConnectionHandler.error: Replace PrintWriter to DataOutputStream

* TcpSlaveAgentListener.ConnectionHandler.respondHello: Replace OutputStreamWriter by DataOutputStream to avoid allocation of big buffer

* TcpSlaveAgentListener.ConnectionHandler.run: Replace Charsets to StandardCharsets

* TcpSlaveAgentListener.ConnectionHandler: Fix encoding of response

* TcpSlaveAgentListener: Remove unused imports

Co-authored-by: default avatarIlya Gulyaev <ilya.gulyaev@nordigy.ru>
parent f2b3cce5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment