gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: cleanup


From: gnunet
Subject: [libeufin] branch master updated: cleanup
Date: Tue, 16 Jun 2020 17:16:20 +0200

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 7be1d8b  cleanup
7be1d8b is described below

commit 7be1d8bcbd4d8d61e1cd392391b3ba01cccbe79c
Author: Florian Dold <florian.dold@gmail.com>
AuthorDate: Tue Jun 16 20:46:16 2020 +0530

    cleanup
---
 nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt  | 6 ------
 nexus/src/main/kotlin/tech/libeufin/nexus/taler.kt | 7 +++++--
 2 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt 
b/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt
index 3b2a0fd..14ffe5b 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt
@@ -22,7 +22,6 @@ package tech.libeufin.nexus
 import com.fasterxml.jackson.core.util.DefaultIndenter
 import com.fasterxml.jackson.core.util.DefaultPrettyPrinter
 import com.fasterxml.jackson.databind.JsonNode
-import com.fasterxml.jackson.databind.ObjectMapper
 import com.fasterxml.jackson.databind.SerializationFeature
 import com.fasterxml.jackson.databind.exc.MismatchedInputException
 import com.fasterxml.jackson.module.kotlin.KotlinModule
@@ -35,10 +34,6 @@ import com.github.ajalt.clikt.parameters.arguments.argument
 import com.github.ajalt.clikt.parameters.options.default
 import com.github.ajalt.clikt.parameters.options.option
 import com.github.ajalt.clikt.parameters.options.prompt
-import com.itextpdf.kernel.pdf.PdfDocument
-import com.itextpdf.kernel.pdf.PdfWriter
-import com.itextpdf.layout.Document
-import com.itextpdf.layout.element.Paragraph
 import io.ktor.application.ApplicationCall
 import io.ktor.application.ApplicationCallPipeline
 import io.ktor.application.call
@@ -74,7 +69,6 @@ import org.slf4j.event.Level
 import tech.libeufin.nexus.ebics.*
 import tech.libeufin.util.*
 import tech.libeufin.util.CryptoUtil.hashpw
-import java.io.ByteArrayOutputStream
 import java.io.PrintWriter
 import java.io.StringWriter
 import java.net.URLEncoder
diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/taler.kt 
b/nexus/src/main/kotlin/tech/libeufin/nexus/taler.kt
index 11ca8a9..e58b869 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/taler.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/taler.kt
@@ -544,7 +544,10 @@ fun ingestTalerTransactions() {
     }
 }
 
-private suspend fun historyOutgoing(call: ApplicationCall): Unit {
+/**
+ * Handle a /taler/history/outgoing request.
+ */
+private suspend fun historyOutgoing(call: ApplicationCall) {
     val param = call.expectUrlParameter("delta")
     val delta: Int = try {
         param.toInt()
@@ -590,7 +593,7 @@ private suspend fun historyOutgoing(call: ApplicationCall): 
Unit {
 }
 
 /**
- * taler/history/incoming
+ * Handle a /taler/history/incoming request.
  */
 private suspend fun historyIncoming(call: ApplicationCall): Unit {
     val param = call.expectUrlParameter("delta")

-- 
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]