Skip to content

Commit f3b42eb

Browse files
authored
Kotlin Spotless fix (#1468)
JAVA-5539
1 parent 4df1108 commit f3b42eb

File tree

2 files changed

+2
-4
lines changed
  • driver-kotlin-coroutine/src/main/kotlin/com/mongodb/kotlin/client/coroutine
  • driver-kotlin-sync/src/main/kotlin/com/mongodb/kotlin/client

2 files changed

+2
-4
lines changed

driver-kotlin-coroutine/src/main/kotlin/com/mongodb/kotlin/client/coroutine/MongoClient.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,7 @@ public class MongoClient(private val wrapped: JMongoClient) : MongoCluster(wrapp
9090
else MongoDriverInformation.builder(mongoDriverInformation)
9191
return MongoClient(
9292
JMongoClients.create(
93-
settings,
94-
builder.driverName("kotlin").driverPlatform("kotlin/${KotlinVersion.CURRENT}").build()))
93+
settings, builder.driverName("kotlin").driverPlatform("kotlin/${KotlinVersion.CURRENT}").build()))
9594
}
9695
}
9796

driver-kotlin-sync/src/main/kotlin/com/mongodb/kotlin/client/MongoClient.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,7 @@ public class MongoClient(private val wrapped: JMongoClient) : MongoCluster(wrapp
8888
else MongoDriverInformation.builder(mongoDriverInformation)
8989
return MongoClient(
9090
JMongoClients.create(
91-
settings,
92-
builder.driverName("kotlin").driverPlatform("kotlin/${KotlinVersion.CURRENT}").build()))
91+
settings, builder.driverName("kotlin").driverPlatform("kotlin/${KotlinVersion.CURRENT}").build()))
9392
}
9493
}
9594

0 commit comments

Comments
 (0)