gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: -imports/typo


From: gnunet
Subject: [libeufin] branch master updated: -imports/typo
Date: Fri, 22 Sep 2023 11:39:38 +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 16d4c6e7 -imports/typo
16d4c6e7 is described below

commit 16d4c6e7174dd77e5ac015ee499f8efdc3286c9a
Author: Florian Dold <florian@dold.me>
AuthorDate: Fri Sep 22 11:39:42 2023 +0200

    -imports/typo
---
 .idea/misc.xml                                                  | 1 -
 bank/src/main/kotlin/tech/libeufin/bank/Main.kt                 | 8 --------
 bank/src/main/kotlin/tech/libeufin/bank/accountsMgmtHandlers.kt | 2 +-
 3 files changed, 1 insertion(+), 10 deletions(-)

diff --git a/.idea/misc.xml b/.idea/misc.xml
index d7070eb0..9e5894be 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -1,4 +1,3 @@
-<?xml version="1.0" encoding="UTF-8"?>
 <project version="4">
   <component name="ExternalStorageConfigurationManager" enabled="true" />
   <component name="FrameworkDetectionExcludesConfiguration">
diff --git a/bank/src/main/kotlin/tech/libeufin/bank/Main.kt 
b/bank/src/main/kotlin/tech/libeufin/bank/Main.kt
index 696b397f..a6ada582 100644
--- a/bank/src/main/kotlin/tech/libeufin/bank/Main.kt
+++ b/bank/src/main/kotlin/tech/libeufin/bank/Main.kt
@@ -25,11 +25,7 @@ import com.github.ajalt.clikt.core.CliktCommand
 import com.github.ajalt.clikt.core.context
 import com.github.ajalt.clikt.core.subcommands
 import com.github.ajalt.clikt.output.CliktHelpFormatter
-import com.github.ajalt.clikt.parameters.options.default
-import com.github.ajalt.clikt.parameters.options.flag
-import com.github.ajalt.clikt.parameters.options.option
 import com.github.ajalt.clikt.parameters.options.versionOption
-import com.github.ajalt.clikt.parameters.types.int
 import io.ktor.http.*
 import io.ktor.server.application.*
 import io.ktor.server.plugins.*
@@ -45,9 +41,6 @@ import io.ktor.server.plugins.statuspages.*
 import io.ktor.server.request.*
 import io.ktor.server.response.*
 import io.ktor.server.routing.*
-import kotlinx.coroutines.CoroutineScope
-import kotlinx.coroutines.Dispatchers
-import kotlinx.coroutines.launch
 import kotlinx.serialization.descriptors.*
 import kotlinx.serialization.encoding.Decoder
 import kotlinx.serialization.encoding.Encoder
@@ -59,7 +52,6 @@ import org.slf4j.LoggerFactory
 import org.slf4j.event.Level
 import tech.libeufin.util.*
 import java.time.Duration
-import kotlin.system.exitProcess
 
 // GLOBALS
 private val logger: Logger = LoggerFactory.getLogger("tech.libeufin.bank.Main")
diff --git a/bank/src/main/kotlin/tech/libeufin/bank/accountsMgmtHandlers.kt 
b/bank/src/main/kotlin/tech/libeufin/bank/accountsMgmtHandlers.kt
index f6b225f5..08e01c26 100644
--- a/bank/src/main/kotlin/tech/libeufin/bank/accountsMgmtHandlers.kt
+++ b/bank/src/main/kotlin/tech/libeufin/bank/accountsMgmtHandlers.kt
@@ -44,7 +44,7 @@ fun Routing.accountsMgmtHandlers(db: Database) {
                     hint = "Username '${req.username}' is reserved."
                 )
             )
-        // Checking imdepotency.
+        // Checking idempotency.
         val maybeCustomerExists = db.customerGetFromLogin(req.username)
         // Can be null if previous call crashed before completion.
         val maybeHasBankAccount = maybeCustomerExists.run {

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