- Collection<RpcError> rpcErrors = new ArrayList<>();
- for(RpcErrorData ed: rpcErrorDataList) {
- RpcError rpcError = ed.severity == ErrorSeverity.ERROR ?
- RpcResultBuilder.newError(ed.errorType, ed.tag, ed.message, ed.applicationTag,
+ final var rpcErrors = new ArrayList<RpcError>();
+ for (var ed : rpcErrorDataList) {
+ final RpcError rpcError = ed.severity == ErrorSeverity.ERROR
+ ? RpcResultBuilder.newError(ed.errorType, ed.tag, ed.message, ed.applicationTag,