Skip to content

Commit 7527dbf

Browse files
author
Pawel Czajka
committed
compilation fix
1 parent 983b97c commit 7527dbf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scenario-compiler/src/main/java/pl/touk/nussknacker/engine/spel/internal/FlinkRowToMapConverter.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ class FlinkRowToMapConverter(val conversionService: ConversionService) extends C
3232
// fields.map(e => e -> r.getField(e)).toMap.asJava
3333
val getFieldsMethod = source.getClass.getMethod("getFieldNames", classOf[Boolean])
3434
getFieldsMethod.setAccessible(true)
35-
val fields = getFieldsMethod.invoke(source, true).asInstanceOf[java.util.Set[String]].asScala
35+
val fields =
36+
getFieldsMethod.invoke(source, (true).asInstanceOf[AnyRef]).asInstanceOf[java.util.Set[String]].asScala
3637
fields
3738
.map(e => {
3839
val getFieldMethod = source.getClass.getMethod("getField", classOf[String])

0 commit comments

Comments
 (0)