Skip to content

Commit bec97ce

Browse files
committed
Spotless apply
1 parent d5e1efc commit bec97ce

File tree

2 files changed

+226
-232
lines changed

2 files changed

+226
-232
lines changed

instrumentation/mongo/mongo-3.1/testing/src/main/java/io/opentelemetry/instrumentation/mongo/v3_1/AbstractMongo31ClientTest.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ protected void createCollection(String dbName, String collectionName) {
6060
protected void createCollectionNoDescription(String dbName, String collectionName) {
6161
MongoClientOptions.Builder options = MongoClientOptions.builder();
6262
configureMongoClientOptions(options);
63-
MongoDatabase db = new MongoClient(new ServerAddress(host, port), options.build()).getDatabase(
64-
dbName);
63+
MongoDatabase db =
64+
new MongoClient(new ServerAddress(host, port), options.build()).getDatabase(dbName);
6565
db.createCollection(collectionName);
6666
}
6767

@@ -70,8 +70,8 @@ protected void createCollectionWithAlreadyBuiltClientOptions(
7070
String dbName, String collectionName) {
7171
MongoClientOptions clientOptions = client.getMongoClientOptions();
7272
MongoClientOptions newClientOptions = MongoClientOptions.builder(clientOptions).build();
73-
MongoDatabase db = new MongoClient(new ServerAddress(host, port), newClientOptions).getDatabase(
74-
dbName);
73+
MongoDatabase db =
74+
new MongoClient(new ServerAddress(host, port), newClientOptions).getDatabase(dbName);
7575
db.createCollection(collectionName);
7676
}
7777

@@ -81,8 +81,8 @@ protected void createCollectionCallingBuildTwice(String dbName, String collectio
8181
MongoClientOptions.builder().description("some-description");
8282
configureMongoClientOptions(options);
8383
options.build();
84-
MongoDatabase db = new MongoClient(new ServerAddress(host, port), options.build()).getDatabase(
85-
dbName);
84+
MongoDatabase db =
85+
new MongoClient(new ServerAddress(host, port), options.build()).getDatabase(dbName);
8686
db.createCollection(collectionName);
8787
}
8888

0 commit comments

Comments
 (0)