Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

Commit

Permalink
Deprecate B3 codec contructor (#440)
Browse files Browse the repository at this point in the history
* Be consistent and use only builder pattern

Signed-off-by: Pavol Loffay <[email protected]>
  • Loading branch information
pavolloffay authored Jun 7, 2018
1 parent 479cb70 commit 855de70
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ public class B3TextMapCodec implements Codec<TextMap> {
private static final PrefixedKeys keys = new PrefixedKeys();
private final String baggagePrefix;

/**
* @deprecated use {@link Builder} instead
*/
@Deprecated
public B3TextMapCodec() {
this(new Builder());
}
Expand Down

0 comments on commit 855de70

Please sign in to comment.