gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: address warnings


From: gnunet
Subject: [libeufin] branch master updated: address warnings
Date: Fri, 24 Jan 2020 16:33:24 +0100

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

marcello pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new 263bb6c  address warnings
263bb6c is described below

commit 263bb6c11e51dfe11958d853e2478bda94ced7d4
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Jan 24 16:33:19 2020 +0100

    address warnings
---
 sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt | 1 -
 util/src/main/kotlin/XmlCombinators.kt                                | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt 
b/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
index c872504..a84bc01 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
@@ -281,7 +281,6 @@ private fun constructCamtResponse(type: Int, customerId: 
Int, header: EbicsReque
 private fun ApplicationCall.handleEbicsC52(header: EbicsRequest.Header): 
ByteArray {
 
     val userId = header.static.userID!!
-    val od = header.static.orderDetails ?: throw Exception("Need 
'OrderDetails'")
 
     val subscriber = transaction {
         EbicsSubscriberEntity.find {
diff --git a/util/src/main/kotlin/XmlCombinators.kt 
b/util/src/main/kotlin/XmlCombinators.kt
index 9a812d6..71ed68d 100644
--- a/util/src/main/kotlin/XmlCombinators.kt
+++ b/util/src/main/kotlin/XmlCombinators.kt
@@ -84,7 +84,7 @@ fun constructXml(indent: Boolean = false, f: 
XmlDocumentBuilder.() -> Unit): Str
 class XmlDocumentDestructor {
 }
 
-fun <T>destructXml(input: String, f: XmlDocumentDestructor.() -> T): T {
+fun <T>destructXml(f: XmlDocumentDestructor.() -> T): T {
     val d = XmlDocumentDestructor()
     return f(d)
 }

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



reply via email to

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