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:27:13 +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 afb682e  address warnings
afb682e is described below

commit afb682e3e480cb23d58740f90baf4983261cfa6d
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Jan 24 16:27:07 2020 +0100

    address warnings
---
 nexus/src/main/kotlin/Main.kt | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/nexus/src/main/kotlin/Main.kt b/nexus/src/main/kotlin/Main.kt
index cb7f39d..b687285 100644
--- a/nexus/src/main/kotlin/Main.kt
+++ b/nexus/src/main/kotlin/Main.kt
@@ -301,8 +301,9 @@ fun main() {
                 var recipientLine = "TODO"
                 val customerIdLine = "TODO"
 
-                var dateLine = ""
-                var timeLine = ""
+                var dateLine = dateFormat.format(now)
+                var timeLine = timeFormat.format(now)
+
                 var userIdLine = ""
                 var esExponentLine = ""
                 var esModulusLine = ""
@@ -322,8 +323,7 @@ fun main() {
                 val dateFormat = SimpleDateFormat("DD.MM.YYYY")
                 val timeFormat = SimpleDateFormat("HH.mm.ss")
 
-                dateLine = dateFormat.format(now)
-                timeLine = timeFormat.format(now)
+
 
 
                 transaction {
@@ -703,7 +703,7 @@ fun main() {
                 }
 
                 val response = client.postToBankSigned<EbicsNpkdRequest, 
EbicsKeyManagementResponse>(
-                    bundle.ebicsUrl!!,
+                    bundle.ebicsUrl,
                     EbicsNpkdRequest.createRequest(
                         bundle.hostId,
                         bundle.partnerId,
@@ -743,7 +743,7 @@ fun main() {
                         ).encoded
                     )
 
-                    subscriber!!.bankEncryptionPublicKey = SerialBlob(
+                    subscriber.bankEncryptionPublicKey = SerialBlob(
                         CryptoUtil.loadRsaPublicKeyFromComponents(
                             
data.encryptionPubKeyInfo.pubKeyValue.rsaKeyValue.modulus,
                             
data.encryptionPubKeyInfo.pubKeyValue.rsaKeyValue.exponent

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



reply via email to

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