diff --git a/java-spiffe-core/src/main/java/spiffe/workloadapi/internal/SecurityHeaderInterceptor.java b/java-spiffe-core/src/main/java/spiffe/workloadapi/internal/SecurityHeaderInterceptor.java index c846d79..64c83bc 100644 --- a/java-spiffe-core/src/main/java/spiffe/workloadapi/internal/SecurityHeaderInterceptor.java +++ b/java-spiffe-core/src/main/java/spiffe/workloadapi/internal/SecurityHeaderInterceptor.java @@ -16,8 +16,7 @@ public class SecurityHeaderInterceptor implements ClientInterceptor { public void start(Listener responseListener, Metadata headers) { Metadata.Key headerKey = Metadata.Key.of(SECURITY_HEADER, Metadata.ASCII_STRING_MARSHALLER); headers.put(headerKey, "true"); - super.start(new ForwardingClientCallListener.SimpleForwardingClientCallListener(responseListener) { - }, headers); + super.start(new ForwardingClientCallListener.SimpleForwardingClientCallListener(responseListener) {}, headers); } }; }