File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
google-cloud-storage/src/main/java/com/google/cloud/storage Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 6464import org .checkerframework .checker .nullness .qual .Nullable ;
6565
6666@ SuppressWarnings ("DuplicatedCode" )
67- public final class OtelStorageDecorator implements Storage {
67+ final class OtelStorageDecorator implements Storage {
6868
6969 /** Becomes the {@code otel.scope.name} attribute in a span */
7070 private static final String OTEL_SCOPE_NAME = "cloud.google.com/java/storage" ;
@@ -1561,7 +1561,7 @@ static UnaryOperator<RetryContext> retryContextDecorator(OpenTelemetry otel) {
15611561 return String .format (Locale .US , "gs://%s/" , bucket );
15621562 }
15631563
1564- public static final class TracerDecorator implements Tracer {
1564+ private static final class TracerDecorator implements Tracer {
15651565 @ Nullable private final Context parentContextOverride ;
15661566 private final Tracer delegate ;
15671567 private final Attributes baseAttributes ;
@@ -1578,7 +1578,7 @@ private TracerDecorator(
15781578 this .spanNamePrefix = spanNamePrefix ;
15791579 }
15801580
1581- public static TracerDecorator decorate (
1581+ private static TracerDecorator decorate (
15821582 @ Nullable Context parentContextOverride ,
15831583 OpenTelemetry otel ,
15841584 Attributes baseAttributes ,
You can’t perform that action at this time.
0 commit comments