diff --git a/CHANGELOG.md b/CHANGELOG.md index 18ad818..8281c57 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Changed +- Documentation of `processClosing` method (issue [#16]). ## [1.0.4] - 2021-12-17 ### Changed @@ -36,6 +38,7 @@ This is the initial release. [1.0.1]: https://github.com/calypsonet/calypsonet-terminal-calypso-java-api/compare/1.0.0...1.0.1 [1.0.0]: https://github.com/calypsonet/calypsonet-terminal-calypso-java-api/releases/tag/1.0.0 +[#16]: https://github.com/calypsonet/calypsonet-terminal-calypso-java-api/issues/16 [#15]: https://github.com/calypsonet/calypsonet-terminal-calypso-java-api/issues/15 [#13]: https://github.com/calypsonet/calypsonet-terminal-calypso-java-api/issues/13 [#11]: https://github.com/calypsonet/calypsonet-terminal-calypso-java-api/issues/11 diff --git a/gradle.properties b/gradle.properties index 5445044..6dacd5f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,7 +1,7 @@ group = org.calypsonet.terminal title = Calypsonet Terminal Calypso API description = API defining the needed interfaces to manage Calypso cards -version = 1.0.4 +version = 1.0.5 javaSourceLevel = 1.6 javaTargetLevel = 1.6 diff --git a/src/main/java/org/calypsonet/terminal/calypso/transaction/CardTransactionManager.java b/src/main/java/org/calypsonet/terminal/calypso/transaction/CardTransactionManager.java index 519edca..810e891 100644 --- a/src/main/java/org/calypsonet/terminal/calypso/transaction/CardTransactionManager.java +++ b/src/main/java/org/calypsonet/terminal/calypso/transaction/CardTransactionManager.java @@ -702,9 +702,7 @@ CardTransactionManager prepareReadRecordFile( *

Nominal case * *

The previously prepared commands are integrated into the calculation of the session digest - * by the SAM before execution by the card by anticipating their responses.
- * Therefore, the previous prepared commands should contain only modify commands - * (update/write/increase/decrease). + * by the SAM before execution by the card by anticipating their responses. * *

Thus, the session closing command containing the terminal signature is integrated into the * same APDU group sent to the card via a final card request. @@ -746,8 +744,7 @@ CardTransactionManager prepareReadRecordFile( * * * @return The current instance. - * @throws IllegalStateException If no session is open or if previous prepared commands contain - * non modify commands. + * @throws IllegalStateException If no session is open. * @throws CardTransactionException If a functional error occurs (including card and SAM IO * errors). * @since 1.0.0