gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: remove comment


From: gnunet
Subject: [libeufin] branch master updated: remove comment
Date: Wed, 29 Jul 2020 15:37:00 +0200

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

ms pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new bb19654  remove comment
bb19654 is described below

commit bb19654bb584d8abb4eb94b4c6ee0cdf6437a5e7
Author: MS <ms@taler.net>
AuthorDate: Wed Jul 29 15:36:51 2020 +0200

    remove comment
---
 .../src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt    | 5 ++++-
 sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt                | 2 --
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git 
a/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt 
b/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
index 880b8cd..3e785bd 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
@@ -789,7 +789,10 @@ private suspend fun ApplicationCall.receiveEbicsXml(): 
Document {
         throw EbicsInvalidXmlError()
     }
     val requestedHostID = requestDocument.getElementsByTagName("HostID")
-    this.attributes.put(AttributeKey("RequestedEbicsHostID"), 
requestedHostID.item(0).nodeValue)
+    this.attributes.put(
+        AttributeKey<String>("RequestedEbicsHostID"),
+        requestedHostID.item(0).textContent
+    )
     return requestDocument
 }
 
diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt 
b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
index c14f945..5de9446 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
@@ -207,8 +207,6 @@ fun serverMain(dbName: String) {
                     HttpStatusCode.OK
                 )
             }
-
-            // todo: check that this error is never thrown upon EBICS errors.
             exception<SandboxError> { cause ->
                 LOGGER.error("Exception while handling '${call.request.uri}'", 
cause)
                 call.respond(

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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