@Override public boolean equals(Object o) { if (o == this) { return true; } if (o instanceof TraceData) { TraceData that = (TraceData) o; return ((this.spanId == null) ? (that.getSpanId() == null) : this.spanId.equals(that.getSpanId())) && ((this.sample == null) ? (that.getSample() == null) : this.sample.equals(that.getSample())); } return false; }
final TraceData traceData = adapter.getTraceData(); Boolean sample = traceData.getSample(); if (sample != null && Boolean.FALSE.equals(sample)) { serverTracer.setStateNoTracing();
final TraceData traceData = adapter.getTraceData(); Boolean sample = traceData.getSample(); if (Boolean.FALSE.equals(sample)) { serverTracer.setStateNoTracing();