Skip to content
代码片段 群组 项目
未验证 提交 7e7b5daa 编辑于 作者: Lucas Bradstreet's avatar Lucas Bradstreet 提交者: GitHub
浏览文件

MINOR: request samples - avoid unnecessary concatenation (#2529)

上级 f2149c68
No related branches found
No related tags found
无相关合并请求
......@@ -246,8 +246,8 @@ object RequestChannel extends Logging {
}
builder
.append(",\"connection\":").append("\"" + context.connectionId + "\"")
.append(",\"totalTime\":").append(totalTimeMs)
.append(",\"connection\":\"").append(context.connectionId)
.append("\",\"totalTime\":").append(totalTimeMs)
.append(",\"requestQueueTime\":").append(requestQueueTimeMs)
.append(",\"localTime\":").append(apiLocalTimeMs)
.append(",\"remoteTime\":").append(apiRemoteTimeMs)
......@@ -255,10 +255,10 @@ object RequestChannel extends Logging {
.append(",\"responseQueueTime\":").append(responseQueueTimeMs)
.append(",\"sendTime\":").append(responseSendTimeMs)
.append(",\"sendIoTime\":").append(responseSendIoTimeMs)
.append(",\"securityProtocol\":").append("\"" + context.securityProtocol + "\"")
.append(",\"principal\":").append("\"" + session.principal + "\"")
.append(",\"listener\":").append("\"" + context.listenerName.value + "\"")
.append(",\"clientInformation\":").append("\"" + context.clientInformation + "\"")
.append(",\"securityProtocol\":\"").append(context.securityProtocol)
.append("\",\"principal\":\"").append(session.principal)
.append("\",\"listener\":\"").append(context.listenerName.value)
.append("\",\"clientInformation\":\"").append(context.clientInformation).append("\"")
if (temporaryMemoryBytes > 0)
builder.append(",\"temporaryMemoryBytes\":").append(temporaryMemoryBytes)
if (messageConversionsTimeMs > 0)
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册