gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated (3b0aa461 -> d5d5035d)


From: gnunet
Subject: [libeufin] branch master updated (3b0aa461 -> d5d5035d)
Date: Tue, 12 Mar 2024 11:33:05 +0100

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

antoine pushed a change to branch master
in repository libeufin.

    from 3b0aa461 Clean EBICS implementation, replace JAXB code with Kotlin DSL 
XML combinators
     new d9142e97 bump version to 0.10.0
     new d5d5035d codespell

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 build.gradle                                                   | 2 +-
 nexus/src/main/kotlin/tech/libeufin/nexus/ebics/EbicsCommon.kt | 4 ++--
 nexus/src/test/kotlin/EbicsTest.kt                             | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/build.gradle b/build.gradle
index 4670c2eb..d47f38cd 100644
--- a/build.gradle
+++ b/build.gradle
@@ -9,7 +9,7 @@ plugins {
 }
 
 group = "tech.libeufin"
-version = "0.9.4a"
+version = "0.10.0"
 
 if (!JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17)){
     throw new GradleException(
diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/ebics/EbicsCommon.kt 
b/nexus/src/main/kotlin/tech/libeufin/nexus/ebics/EbicsCommon.kt
index 74c1dd32..ae4233c4 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/ebics/EbicsCommon.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/ebics/EbicsCommon.kt
@@ -125,7 +125,7 @@ suspend fun HttpClient.postToBank(bankUrl: String, msg: 
ByteArray, phase: String
     try {
         return XMLUtil.parseIntoDom(res.bodyAsChannel().toInputStream())
     } catch (e: SAXException) {
-        throw EbicsError.Protocol("$phase: invalid XML bank reponse", e)
+        throw EbicsError.Protocol("$phase: invalid XML bank response", e)
     } catch (e: Exception) {
         throw EbicsError.Transport("$phase: failed read bank response", e)
     }
@@ -216,7 +216,7 @@ suspend fun ebicsDownload(
             if (!parentScope.isActive) {
                 // First send a proper EBICS transaction failure
                 receipt(false)
-                // Send throw cancelation exception
+                // Send throw cancellation exception
                 throw CancellationException()
             }
         }
diff --git a/nexus/src/test/kotlin/EbicsTest.kt 
b/nexus/src/test/kotlin/EbicsTest.kt
index a67a48d6..aa182a93 100644
--- a/nexus/src/test/kotlin/EbicsTest.kt
+++ b/nexus/src/test/kotlin/EbicsTest.kt
@@ -52,7 +52,7 @@ class EbicsTest {
                 respondOk("<ebics broken></ebics>")
             }.postToBank("http://ignored.example.com/";, ByteArray(0), "Test")
         }.run {
-            assertEquals("Test: invalid XML bank reponse", message)
+            assertEquals("Test: invalid XML bank response", message)
             assertEquals("Attribute name \"broken\" associated with an element 
type \"ebics\" must be followed by the ' = ' character.", cause!!.message)
         }
         getMockedClient {

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