gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libeufin] branch master updated: fix JAXB problem


From: gnunet
Subject: [libeufin] branch master updated: fix JAXB problem
Date: Tue, 12 Nov 2019 18:52:32 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new 63b69cc  fix JAXB problem
63b69cc is described below

commit 63b69ccc34e2edeaba5784891a086f4de912d2da
Author: Florian Dold <address@hidden>
AuthorDate: Tue Nov 12 18:52:26 2019 +0100

    fix JAXB problem
---
 .../main/kotlin/tech/libeufin/schema/ebics_h004/EbicsTypes.kt    | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git 
a/sandbox/src/main/kotlin/tech/libeufin/schema/ebics_h004/EbicsTypes.kt 
b/sandbox/src/main/kotlin/tech/libeufin/schema/ebics_h004/EbicsTypes.kt
index e0cc3d7..3f9c605 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/schema/ebics_h004/EbicsTypes.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/schema/ebics_h004/EbicsTypes.kt
@@ -21,6 +21,7 @@ package tech.libeufin.schema.ebics_h004
 
 import org.apache.xml.security.binding.xmldsig.RSAKeyValueType
 import org.w3c.dom.Element
+import java.util.*
 import javax.xml.bind.annotation.*
 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter
 import javax.xml.bind.annotation.adapters.NormalizedStringAdapter
@@ -212,11 +213,11 @@ object EbicsTypes {
         @get:XmlElement(name = "BankInfo", required = true)
         lateinit var bankInfo: BankInfo
 
-        @get:XmlElement(name = "AccountInfo", required = true)
-        var accountInfoList: List<AccountInfo>? = null
+        @get:XmlElement(name = "AccountInfo", type = AccountInfo::class)
+        var accountInfoList: List<AccountInfo>? = LinkedList<AccountInfo>()
 
-        @get:XmlElement(name = "OrderInfo")
-        lateinit var orderInfoList: List<AuthOrderInfoType>
+        @get:XmlElement(name = "OrderInfo", type = AuthOrderInfoType::class)
+        var orderInfoList: List<AuthOrderInfoType> = 
LinkedList<AuthOrderInfoType>()
     }
 
     @XmlAccessorType(XmlAccessType.NONE)

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]