File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
modules/scala-api/src/test/scala-3/org/apache/flinkx/api Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -19,17 +19,17 @@ class GenericCaseClassScala3Test extends AnyFlatSpec with should.Matchers {
1919 aClass : Class [A ]
2020 ): Unit = {
2121 // cacheKey=org.apache.flinkx.api.GenericCaseClassTest.Cat => OK
22- val catInfo : TypeInformation [Cat ] = implicitly[ TypeInformation [ Cat ]]
22+ val catInfo : TypeInformation [Cat ] = deriveTypeInformation
2323 // cacheKey=org.apache.flinkx.api.GenericCaseClassTest.Dog => OK
24- val dogInfo : TypeInformation [Dog ] = implicitly[ TypeInformation [ Dog ]]
24+ val dogInfo : TypeInformation [Dog ] = deriveTypeInformation
2525 // cacheKey=org.apache.flinkx.api.GenericCaseClassTest.Cat or Dog => OK
2626 val aInfo : TypeInformation [A ] = implicitly[TypeInformation [A ]]
2727 // cacheKey=org.apache.flinkx.api.GenericCaseClassTest.Basket[org.apache.flinkx.api.GenericCaseClassTest.Cat] => OK
28- val catBasketInfo : TypeInformation [Basket [Cat ]] = implicitly[ TypeInformation [ Basket [ Cat ]]]
28+ val catBasketInfo : TypeInformation [Basket [Cat ]] = deriveTypeInformation
2929 // cacheKey=org.apache.flinkx.api.GenericCaseClassTest.Basket[org.apache.flinkx.api.GenericCaseClassTest.Dog] => OK
30- val dogBasketInfo : TypeInformation [Basket [Dog ]] = implicitly[ TypeInformation [ Basket [ Dog ]]]
30+ val dogBasketInfo : TypeInformation [Basket [Dog ]] = deriveTypeInformation
3131 // cacheKey=org.apache.flinkx.api.GenericCaseClassTest.Basket[A] => Basket[A] is not cachable
32- val aBasketInfo : TypeInformation [Basket [A ]] = implicitly[ TypeInformation [ Basket [ A ]]]
32+ val aBasketInfo : TypeInformation [Basket [A ]] = deriveTypeInformation
3333
3434 if (classOf [Cat ].isAssignableFrom(aClass)) {
3535 aInfo should be theSameInstanceAs catInfo
You can’t perform that action at this time.
0 commit comments