Skip to content
Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ tasks {
if (name.contains("Test")) {
// serialVersionUI is basically guaranteed to be useless in tests
compilerArgs.add("-Xlint:-serial")
compilerArgs.add("-Xlint:-this-escape")
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

public class AutoConfigTestProperties extends TemporaryProperties {

@SuppressWarnings("this-escape")
public AutoConfigTestProperties() {
put("otel.java.global-autoconfigure.enabled", "true");
put("otel.traces.exporter", "logging");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public enum ConfigSource {
ENVIRONMENT_VARIABLES;
}

@SuppressWarnings("this-escape")
public JmxScraperContainer(String otlpEndpoint, String baseImage) {
super(baseImage);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public class TestAppContainer extends GenericContainer<TestAppContainer> {
private int jmxRmiPort;
private boolean clientCertificate;

@SuppressWarnings("this-escape")
public TestAppContainer() {
super("openjdk:8u272-jre-slim");

Expand Down