Skip to content

Commit 4df41b6

Browse files
committed
Spotless fix
1 parent 8910a72 commit 4df41b6

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

jmx-scraper/src/integrationTest/java/io/opentelemetry/contrib/jmxscraper/target_systems/CassandraIntegrationTest.java

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
import static io.opentelemetry.contrib.jmxscraper.target_systems.MetricAssertions.assertSumWithAttributes;
1111
import static org.assertj.core.api.Assertions.entry;
1212

13+
import io.opentelemetry.contrib.jmxscraper.JmxScraperContainer;
1314
import java.time.Duration;
1415
import java.util.Arrays;
1516
import java.util.List;
1617
import java.util.function.Consumer;
17-
import io.opentelemetry.contrib.jmxscraper.JmxScraperContainer;
1818
import org.assertj.core.api.MapAssert;
1919
import org.testcontainers.containers.GenericContainer;
2020
import org.testcontainers.containers.wait.strategy.Wait;
@@ -26,14 +26,10 @@ public class CassandraIntegrationTest extends TargetSystemIntegrationTest {
2626
protected GenericContainer<?> createTargetContainer(int jmxPort) {
2727
return new GenericContainer<>(
2828
new ImageFromDockerfile()
29-
.withDockerfileFromBuilder(
30-
builder ->
31-
builder
32-
.from("cassandra:5.0.2")
33-
.build()))
29+
.withDockerfileFromBuilder(builder -> builder.from("cassandra:5.0.2").build()))
3430
.withEnv(
3531
"JVM_EXTRA_OPTS",
36-
" -Dcassandra.jmx.remote.port="
32+
" -Dcassandra.jmx.remote.port="
3733
+ jmxPort
3834
+ " -Dcom.sun.management.jmxremote.rmi.port="
3935
+ jmxPort

0 commit comments

Comments
 (0)