Skip to content

Commit c8e0daf

Browse files
committed
fix warning
1 parent b877623 commit c8e0daf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exporters/otlp/common/src/jmh/java/io/opentelemetry/exporter/internal/otlp/StringMarshalBenchmark.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,12 @@ private static class TestMarshaler extends Marshaler {
110110
context = new MarshalerContext(/* marshalStringNoAllocation= */ true, useUnsafe);
111111
}
112112

113-
public void initialize(String string) {
113+
private void initialize(String string) {
114114
value = string;
115115
size = StringAnyValueStatelessMarshaler.INSTANCE.getBinarySerializedSize(string, context);
116116
}
117117

118-
public void reset() {
118+
private void reset() {
119119
context.reset();
120120
}
121121

0 commit comments

Comments
 (0)