Skip to content

Commit be41a72

Browse files
committed
add author in class header
1 parent 2d82436 commit be41a72

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/kotlin/org/springframework/data/repository/CrudRepositoryExtensions.kt

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ package org.springframework.data.repository
2121
* @param id the entity id.
2222
* @return the entity with the given id or `null` if none found
2323
* @author Sebastien Deleuze
24+
* @author Oscar Hernandez
2425
* @since 2.1.4
2526
*/
2627
fun <T, ID: Any> CrudRepository<T, ID>.findByIdOrNull(id: ID): T? = findById(id).orElse(null)

0 commit comments

Comments
 (0)