Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Victorsesan committed Oct 30, 2024
1 parent 42a434a commit ffcdf3c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ android {
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("consumer-rules.pro")
buildConfigField("String", "OTEL_ANDROID_VERSION", "\"$version\"")

// Enable desugaring for Java 8 features
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8 // Set source compatibility to Java 8
targetCompatibility = JavaVersion.VERSION_1_8 // Set target compatibility to Java 8
}
}

buildTypes {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ private BandwidthThrottlingExporter(Builder builder) {
this.maxBytesPerSecond = builder.maxBytesPerSecond;
this.timeWindowInMillis = builder.timeWindow.toMillis();
this.lastExportTime = System.currentTimeMillis();

this.bytesExportedInWindow = 0;
}

Expand Down

0 comments on commit ffcdf3c

Please sign in to comment.