Skip to content

Commit

Permalink
try to make CustomClassMapper happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsannas committed May 3, 2024
1 parent 1268dd1 commit d2a76b5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
import io.opentelemetry.sdk.trace.data.SpanData;
import io.opentelemetry.sdk.trace.export.SimpleSpanProcessor;
import io.opentelemetry.sdk.trace.samplers.Sampler;
import java.io.Serializable;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
Expand Down Expand Up @@ -343,8 +342,8 @@ boolean hasEvent(SpanData spanData, String eventName, @Nullable Attributes expec

// This is a POJO used for testing APIs that take a POJO.
@Keep
public static class Pojo implements Serializable {
private int bar;
public static class Pojo {
public int bar;

public Pojo() {
bar = 0;
Expand All @@ -354,6 +353,7 @@ public Pojo(int bar) {
this.bar = bar;
}

@Keep
public int getBar() {
return bar;
}
Expand Down

0 comments on commit d2a76b5

Please sign in to comment.