Skip to content

Commit 4bc0525

Browse files
committed
[scala 2.12] Add override required to setProperties override for scala 2.12
1 parent 5383252 commit 4bc0525

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mybatis-scala-core/src/main/scala/org/mybatis/scala/config/ObjectFactory.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class DefaultObjectFactory extends ObjectFactory {
2424
instantiateClass[T](classToCreate, constructorArgTypes, constructorArgs)
2525
}
2626

27-
def setProperties(properties : java.util.Properties) : Unit = {}
27+
override def setProperties(properties : java.util.Properties) : Unit = {}
2828

2929
private def instantiateClass[T](t : Class[_], constructorArgTypes : java.util.List[Class[_]], constructorArgs : java.util.List[AnyRef]) : T = {
3030

0 commit comments

Comments
 (0)