From 08370578d38461ad222415e137d2ae760dac9948 Mon Sep 17 00:00:00 2001 From: Victor Date: Thu, 14 Nov 2024 03:17:14 +0100 Subject: [PATCH] Fix comments Relate to #638 --- .../android/export/RateLimitedExporter.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/core/src/main/java/io/opentelemetry/android/export/RateLimitedExporter.java b/core/src/main/java/io/opentelemetry/android/export/RateLimitedExporter.java index bbbc4cea3..8c185b1d8 100644 --- a/core/src/main/java/io/opentelemetry/android/export/RateLimitedExporter.java +++ b/core/src/main/java/io/opentelemetry/android/export/RateLimitedExporter.java @@ -90,23 +90,23 @@ static class Builder { private CategoryFunction categoryFunction = span -> "default"; private long maxBytesPerSecond = 1024; // Default to 1 KB/s private long timeWindowInMillis = 1000; // Default to 1 second - + private Builder(SpanExporter delegate) { this.delegate = delegate; } - + Builder maxBytesPerSecond(long maxBytesPerSecond) { this.maxBytesPerSecond = maxBytesPerSecond; return this; } - + Builder timeWindow(Duration timeWindow) { this.timeWindow = timeWindow; return this; } - + BandwidthThrottlingExporter build() { return new BandwidthThrottlingExporter(this); } - } + } }