File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
mybatis-scala-core/src/main/scala/org/mybatis/scala/config Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ object Configuration {
204204 * Creates a Configuration built from a custom builder
205205 * @param builder Builder => Unit
206206 */
207- def apply (builder : Builder ): Configuration = builder.build
207+ def apply (builder : Builder ): Configuration = builder.build()
208208
209209 /** Configuration builder */
210210 class Builder {
@@ -232,7 +232,7 @@ object Configuration {
232232 }
233233
234234 /** Ordered deferred setter */
235- private def set [A ](i : Int , e : ArrayBuffer [ConfigElem [A ]])(f : A => Unit ) {
235+ private def set [A ](i : Int , e : ArrayBuffer [ConfigElem [A ]])(f : A => Unit ): Unit = {
236236 e += new ConfigElem [A ] {
237237 val index = i
238238 def set (c : A ) = f(c)
You can’t perform that action at this time.
0 commit comments