Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.

Commit 54489bc

Browse files
committed
Applied review feedback
Signed-off-by: Lars Wegner <lars.wegner2@de.bosch.com>
1 parent fa2127c commit 54489bc

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/prooftemplates/ProofTemplateElementVisitor.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,11 @@
3535
* accept the different parts and store them in a context conserving way, to
3636
* build the {@link PresentProofRequest.ProofRequest} with {@link #getResult()}.
3737
* <p>
38-
* The call order of the visit methods does not matter. These methods are not
39-
* thread safe. Use one instance per {@link BPAProofTemplate}
38+
* The call order of the visit methods does not matter.<p>
39+
* These methods are not thread safe.<p>
40+
* Use one instance per {@link BPAProofTemplate}
41+
*
42+
* @see ProofTemplateConversion#proofRequestViaVisitorFrom for an example on how to use this class
4043
*/
4144
class ProofTemplateElementVisitor {
4245

backend/business-partner-agent/src/test/java/org/hyperledger/bpa/repository/BPAProofTemplateRepositoryTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ void testSavingAnEntity() {
7878
.createdAt(savedProofTemplate.get().getCreatedAt())
7979
.build();
8080
assertEquals(expectedProofTemplate, savedProofTemplate.get());
81+
assertEquals(0, repo.count());
8182
}
8283

8384
@Test

0 commit comments

Comments
 (0)