From d82c6b1a3d3e1f3b0f9b8ffb60b62e0db45a667f Mon Sep 17 00:00:00 2001 From: Jens Schauder Date: Mon, 19 Aug 2024 13:01:00 +0200 Subject: [PATCH] Polishing. Original pull request #3576 --- .../repository/support/EnversRevisionRepositoryImpl.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/spring-data-envers/src/main/java/org/springframework/data/envers/repository/support/EnversRevisionRepositoryImpl.java b/spring-data-envers/src/main/java/org/springframework/data/envers/repository/support/EnversRevisionRepositoryImpl.java index 3d6c266b86..5142e18de3 100755 --- a/spring-data-envers/src/main/java/org/springframework/data/envers/repository/support/EnversRevisionRepositoryImpl.java +++ b/spring-data-envers/src/main/java/org/springframework/data/envers/repository/support/EnversRevisionRepositoryImpl.java @@ -64,6 +64,7 @@ * @author Niklas Loechte * @author Donghun Shin * @author Greg Turnquist + * @author Aref Behboodi */ @Transactional(readOnly = true) public class EnversRevisionRepositoryImpl> @@ -76,9 +77,9 @@ public class EnversRevisionRepositoryImpl entityInformation, RevisionEntityInformation revisionEntityInformation, EntityManager entityManager) { @@ -238,7 +239,7 @@ RevisionMetadata createRevisionMetadata() { return metadata instanceof DefaultRevisionEntity defaultRevisionEntity // ? new DefaultRevisionMetadata(defaultRevisionEntity, revisionType) // : new AnnotationRevisionMetadata<>(Hibernate.unproxy(metadata), RevisionNumber.class, RevisionTimestamp.class, - revisionType); + revisionType); } private static RevisionMetadata.RevisionType convertRevisionType(RevisionType datum) {