gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: Try avoiding loop.


From: gnunet
Subject: [libeufin] branch master updated: Try avoiding loop.
Date: Tue, 24 Mar 2020 16:59:42 +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 c94bab2  Try avoiding loop.
c94bab2 is described below

commit c94bab2e11c15913b74a1f328c83a0325436cf00
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Mar 24 16:58:50 2020 +0100

    Try avoiding loop.
    
    Trying to statically build a mock camt.053 response,
    without looping over the transactions in the database.
    
    Temporary change.
---
 sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt | 4 ++--
 1 file changed, 2 insertions(+), 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 5a32f87..e3887a1 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
@@ -275,7 +275,7 @@ fun buildCamtString(history: 
SizedIterable<BankTransactionEntity>, type: Int): S
                             text(now.toDashedDate())
                         }
                     }
-                    history.forEach {
+                    // history.forEach {
                         element("Ntry") {
                             element("Amt")
                             element("CdtDbtInd") {
@@ -387,7 +387,7 @@ fun buildCamtString(history: 
SizedIterable<BankTransactionEntity>, type: Int): S
                                 text("additional information not given")
                             }
                         }
-                    }
+                    // }
                 }
             }
         }

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



reply via email to

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