Modify rule S7190: improve code examples (#4795)

This commit is contained in:
lpilastri 2025-03-17 10:53:53 +01:00 committed by GitHub
parent c7f2158161
commit 693507a8ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,6 +14,7 @@ Ensure that methods annotated with `@BeforeTransaction` or `@AfterTransaction` h
[source,java,diff-id=1,diff-type=noncompliant]
----
@Transactional
public class TransactionalTest {
@BeforeTransaction
@ -32,6 +33,7 @@ public class TransactionalTest {
[source,java,diff-id=1,diff-type=compliant]
----
@Transactional
public class TransactionalTest {
@BeforeTransaction