@Test public void hitOrMissBinaryAnnotationMissing() { Iterable<Span> adjusted = adjuster.adjust(asList(serverSpanWithFinagleFlushWithoutHitBinaryAnnotation)); assertThat(adjusted).containsExactly(serverSpanWithFinagleFlushWithoutHitBinaryAnnotation); }
@Override protected Span adjust(Span span) { List<Annotation> annotations = new ArrayList<>(); for (Annotation a : span.annotations) { if (!a.value.equals("finagle.flush")) { annotations.add(a); } } return span.toBuilder().annotations(annotations).build(); }
FinagleIssue343Adjuster extends Adjuster { @Override protected Span adjust(Span span) { List<Annotation> annotations = new ArrayList<>(); for (Annotation a : span.annotations) { if (!a.value.equals("finagle.flush")) { annotations.add(a); } } return span.toBuilder().annotations(annotations).build(); } }
FinagleIssue343Adjuster extends Adjuster { @Override protected Span adjust(Span span) { List<Annotation> annotations = new ArrayList<>(); for (Annotation a : span.annotations) { if (!a.value.equals("finagle.flush")) { annotations.add(a); } } return span.toBuilder().annotations(annotations).build(); } FinagleIssue343Adjuster(); }
FinagleIssue343Adjuster extends Adjuster { @Override protected Span adjust(Span span) { List<Annotation> annotations = new ArrayList<>(); for (Annotation a : span.annotations) { if (!a.value.equals("finagle.flush")) { annotations.add(a); } } return span.toBuilder().annotations(annotations).build(); } FinagleIssue343Adjuster(); static FinagleIssue343Adjuster create(); }
FinagleIssue343Adjuster extends Adjuster { @Override protected Span adjust(Span span) { List<Annotation> annotations = new ArrayList<>(); for (Annotation a : span.annotations) { if (!a.value.equals("finagle.flush")) { annotations.add(a); } } return span.toBuilder().annotations(annotations).build(); } FinagleIssue343Adjuster(); static FinagleIssue343Adjuster create();  }