Skip to content

Commit

Permalink
final nits
Browse files Browse the repository at this point in the history
  • Loading branch information
lmolkova committed Jan 6, 2025
1 parent 63b5158 commit 676ff56
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

import java.io.IOException;
import java.net.URI;
import java.util.Collections;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.Set;
Expand All @@ -32,7 +34,7 @@
*/
public class HttpLoggingPolicy implements HttpPipelinePolicy {
private static final HttpLogOptions DEFAULT_HTTP_LOG_OPTIONS = new HttpLogOptions();
private static final Set<HttpHeaderName> ALWAYS_ALLOWED_HEADERS = Set.of(TRACEPARENT);
private static final List<HttpHeaderName> ALWAYS_ALLOWED_HEADERS = Collections.singletonList(TRACEPARENT);
private static final int MAX_BODY_LOG_SIZE = 1024 * 16;
private static final String REDACTED_PLACEHOLDER = "REDACTED";
private static final ClientLogger LOGGER = new ClientLogger(HttpLoggingPolicy.class);
Expand Down

0 comments on commit 676ff56

Please sign in to comment.