@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; }
LOGGER.fine("Received indication that we should NOT trace."); } else { if (traceData.getSpanId() != null) { LOGGER.fine("Received span information as part of request."); SpanId spanId = traceData.getSpanId(); serverTracer.setStateCurrentTrace(spanId.traceId, spanId.spanId, spanId.nullableParentId(), adapter.getSpanName());