Polish diamond operator usage.

Closes #3620
This commit is contained in:
Tran Ngoc Nhan
2024-09-24 19:27:48 +07:00
committed by Mark Paluch
parent 9d6676c893
commit cdc91d33f6
3 changed files with 7 additions and 4 deletions

View File

@@ -65,6 +65,7 @@ import org.springframework.util.Assert;
* @author Donghun Shin
* @author Greg Turnquist
* @author Aref Behboodi
* @author Ngoc Nhan
*/
@Transactional(readOnly = true)
public class EnversRevisionRepositoryImpl<T, ID, N extends Number & Comparable<N>>
@@ -117,7 +118,7 @@ public class EnversRevisionRepositoryImpl<T, ID, N extends Number & Comparable<N
Assert.notNull(id, "Identifier must not be null!");
Assert.notNull(revisionNumber, "Revision number must not be null!");
List<Object[]> singleResult = (List<Object[]>) createBaseQuery(id) //
List<Object[]> singleResult = createBaseQuery(id) //
.add(AuditEntity.revisionNumber().eq(revisionNumber)) //
.getResultList();