From 4f2ddcdc0d213947b6e70140cc44e2f003ec9576 Mon Sep 17 00:00:00 2001 From: Kun Liu Date: Fri, 18 Feb 2022 16:58:09 +0800 Subject: [PATCH] Fix ci build failure --- .../microsoft/azure/proton/transport/proxy/impl/ProxyImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/microsoft/azure/proton/transport/proxy/impl/ProxyImpl.java b/src/main/java/com/microsoft/azure/proton/transport/proxy/impl/ProxyImpl.java index ac9a121..697ab6b 100644 --- a/src/main/java/com/microsoft/azure/proton/transport/proxy/impl/ProxyImpl.java +++ b/src/main/java/com/microsoft/azure/proton/transport/proxy/impl/ProxyImpl.java @@ -278,7 +278,7 @@ public void process() throws TransportException { if (LOGGER.isErrorEnabled()) { LOGGER.error("Proxy authentication required. User configured: '{}', but supported proxy authentication methods are: {}", proxyConfiguration.authentication(), - supportedTypes.stream().map(Enum::toString).collect(Collectors.joining(","))); + supportedTypes.stream().map(type -> type.toString()).collect(Collectors.joining(","))); } closeTailProxyError(PROXY_CONNECT_USER_ERROR + PROXY_CONNECT_FAILED + result.getResponse().toString());