Skip to content

Remove unused dependency #4403

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions agent/agent-tooling/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ dependencies {
testImplementation("io.opentelemetry:opentelemetry-sdk-logs")
testImplementation("io.opentelemetry:opentelemetry-sdk-testing")

// TODO(trask): update tests, no need to use this anymore
testImplementation("com.squareup.okio:okio:3.15.0")

compileOnly(project(":agent:agent-bootstrap"))
compileOnly("io.opentelemetry.instrumentation:opentelemetry-instrumentation-api")
compileOnly("io.opentelemetry.instrumentation:opentelemetry-instrumentation-api-incubator")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import org.jetbrains.annotations.NotNull;
import org.junit.jupiter.api.Test;

class TelemetryProcessorMaskingTest {
Expand Down Expand Up @@ -76,7 +75,6 @@ void shouldMaskAttributeWithGroupName() {
assertThat(newHttpUrlAttributeValue).isEqualTo("https://user/" + mask);
}

@NotNull
private static AttributeProcessor maskingAttributeProcessor(
String httpAttributeKey, String regEx, String replacementPattern) {
Configuration.ProcessorAction maskingAction =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import java.util.List;
import java.util.function.Consumer;
import java.util.stream.Collectors;
import org.jetbrains.annotations.NotNull;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.DynamicTest;
import org.junit.jupiter.api.TestFactory;
Expand Down Expand Up @@ -164,7 +163,6 @@ public Collection<DynamicTest> runTests() {
.collect(Collectors.toList());
}

@NotNull
private static ProfilerConfiguration unconfiguredState() {
return new ProfilerConfiguration()
.setLastModified(ProfilerConfiguration.DEFAULT_DATE)
Expand All @@ -176,7 +174,6 @@ private static ProfilerConfiguration unconfiguredState() {
"--memory-threshold 80 --memory-trigger-profilingDuration 120 --memory-trigger-cooldown 14400 --memory-trigger-enabled true");
}

@NotNull
private static ProfilerConfiguration userConfiguredTriggersState(boolean triggersEnabled) {
return new ProfilerConfiguration()
.setLastModified(new Date(Instant.now().toEpochMilli()))
Expand All @@ -190,7 +187,6 @@ private static ProfilerConfiguration userConfiguredTriggersState(boolean trigger
+ triggersEnabled);
}

@NotNull
private static ProfilerConfiguration profileNowState(
boolean expiredPast, boolean triggersEnabled) {
Instant expiration;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import java.util.Collections;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.function.Consumer;
import org.jetbrains.annotations.NotNull;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

Expand Down Expand Up @@ -82,7 +81,6 @@ public void underThenOverThresholdDataDoesCauseAlert() throws InterruptedExcepti
});
}

@NotNull
private static ReadableSpan buildSampleSpan(String fooBar, int durationMillis) {
Instant end = Instant.now();
Instant start = end.minusMillis(durationMillis);
Expand Down