File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
main/scala/za/co/absa/db/fadb/utils
test/scala/za/co/absa/db/fadb/utils Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ object ClassFieldNamesExtractor {
5151 * @tparam T - type to investigate and extract field names from
5252 * @return - list of field names
5353 */
54- def extract [T : TypeTag ]()(
54+ def extract [T : TypeTag ](
5555 implicit namingConvention : NamingConvention = SnakeCaseNaming .Implicits .namingConvention
5656 ): Seq [String ] = {
5757 doExtract[T ](namingConvention)
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ class ClassFieldNamesExtractorUnitTests extends AnyFunSuiteLike {
2727 " int_field" ,
2828 " string_field"
2929 )
30- val fieldNames = ClassFieldNamesExtractor .extract[TestCaseClass ]()
30+ val fieldNames = ClassFieldNamesExtractor .extract[TestCaseClass ]
3131 assert(fieldNames == expected)
3232 }
3333
@@ -46,7 +46,7 @@ class ClassFieldNamesExtractorUnitTests extends AnyFunSuiteLike {
4646 " xfield" ,
4747 " yfield"
4848 )
49- val fieldNames = ClassFieldNamesExtractor .extract[TestClass ]()
49+ val fieldNames = ClassFieldNamesExtractor .extract[TestClass ]
5050 assert(fieldNames == expected)
5151 }
5252
You can’t perform that action at this time.
0 commit comments