Skip to content

Commit 3110bf7

Browse files
committed
Update scalafmt settings
1 parent 51388df commit 3110bf7

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.scalafmt.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
version = "3.8.3"
2-
runner.dialect = Scala213
2+
runner.dialect = Scala213Source3
33
maxColumn = 120
44
align.preset = none
55
align.tokens = []

src/main/scala/com/github/takezoe/slick/blocking/BlockingProfile.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ trait BlockingJdbcProfile extends JdbcProfile with BlockingRelationalProfile {
180180
.run(new BlockingJdbcActionContext(s))
181181
}
182182

183-
def ++=(values: Iterable[U])(implicit s: JdbcBackend#Session): Int = insertAll(values.toSeq *)
183+
def ++=(values: Iterable[U])(implicit s: JdbcBackend#Session): Int = insertAll(values.toSeq*)
184184

185185
def insertAll(values: U*)(implicit s: JdbcBackend#Session): Int = {
186186
createInsertActionExtensionMethods(compiled)
@@ -218,7 +218,7 @@ trait BlockingJdbcProfile extends JdbcProfile with BlockingRelationalProfile {
218218
}
219219
}
220220

221-
def ++=(values: Iterable[T])(implicit s: JdbcBackend#Session): Seq[R] = insertAll(values.toSeq *)
221+
def ++=(values: Iterable[T])(implicit s: JdbcBackend#Session): Seq[R] = insertAll(values.toSeq*)
222222

223223
def insertAll(values: T*)(implicit s: JdbcBackend#Session): Seq[R] = {
224224
(a ++= values) match {
@@ -241,7 +241,7 @@ trait BlockingJdbcProfile extends JdbcProfile with BlockingRelationalProfile {
241241
}
242242
}
243243

244-
def ++=(values: Iterable[T])(implicit s: JdbcBackend#Session): Seq[R] = insertAll(values.toSeq *)
244+
def ++=(values: Iterable[T])(implicit s: JdbcBackend#Session): Seq[R] = insertAll(values.toSeq*)
245245

246246
def insertAll(values: T*)(implicit s: JdbcBackend#Session): Seq[R] = {
247247
(a ++= values) match {

src/test/scala/com/github/takezoe/slick/blocking/SlickBlockingAPISpec.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ abstract class SlickBlockingAPISpec(p: BlockingJdbcProfile) extends AnyFunSuite
153153
UsersRow(3, "tanacasino", None)
154154
)
155155

156-
Users.insertAll(users: _*)
156+
Users.insertAll(users*)
157157
val count1 = Query(Users.length).first
158158
assert(count1 == 3)
159159

0 commit comments

Comments
 (0)