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 0912939
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -343,21 +343,18 @@ 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 class Pojo {
public int bar;
public Pojo() {
bar = 0;
}

public Pojo(int bar) {
this.bar = bar;
}

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

public void setBar(int bar) {
this.bar = bar;
}
Expand Down

0 comments on commit 0912939

Please sign in to comment.