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

Commit

Permalink
Deprecate JerseyServerFilter#JerseyServerFilter(Tracer, TraceContext) (
Browse files Browse the repository at this point in the history
…jaegertracing#352)

Signed-off-by: Debosmit Ray <debo@uber.com>
  • Loading branch information
dray92 authored and yurishkuro committed Feb 25, 2018
1 parent 4c976ab commit 1fa8d12
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,17 @@ public class JerseyServerFilter extends ServerFilter {
private Map<CacheKey, String> methodToPathCache = new ConcurrentHashMap<CacheKey, String>();
private Field normalizedTemplate;

/**
*
* @deprecated Use {@link JerseyServerFilter#JerseyServerFilter(Tracer)}
*/
@Deprecated
public JerseyServerFilter(Tracer tracer, TraceContext traceContext) {
super(tracer, traceContext);
this(tracer);
}

public JerseyServerFilter(Tracer tracer) {
super(tracer);

try {
normalizedTemplate = UriTemplate.class.getDeclaredField("normalizedTemplate");
Expand Down

0 comments on commit 1fa8d12

Please sign in to comment.