File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
main/scala/com/github/takezoe/slick/blocking
test/scala/com/github/takezoe/slick/blocking Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11version = "3.8.3"
2- runner.dialect = Scala213
2+ runner.dialect = Scala213Source3
33maxColumn = 120
44align.preset = none
55align.tokens = []
Original file line number Diff line number Diff 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 {
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments