mirror of
https://github.com/OpenSPG/openspg.git
synced 2025-06-27 03:20:10 +00:00
bugfix
This commit is contained in:
parent
2e19a68084
commit
74172d2a14
@ -34,6 +34,9 @@ object Convert2ScalaUtil {
|
||||
}
|
||||
|
||||
def toJavaList[T](scalaList: List[T]): java.util.List[T] = {
|
||||
if (scalaList == null || scalaList.isEmpty) {
|
||||
return new java.util.ArrayList[T]()
|
||||
}
|
||||
scalaList.asJava
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user