Fix integer overflow in @Order of RepositoryRelProvider.

Signed-off-by: Andrey Litvitski <andrey1010102008@gmail.com>

Closes: #2477
Original pull request: #2478
This commit is contained in:
Andrey Litvitski
2025-05-09 19:57:46 +03:00
committed by Mark Paluch
parent 3cd9d42aa3
commit 10f9b78b77

View File

@@ -28,7 +28,7 @@ import org.springframework.util.Assert;
*
* @author Oliver Gierke
*/
@Order(Ordered.LOWEST_PRECEDENCE + 10)
@Order(Ordered.LOWEST_PRECEDENCE - 10)
public class RepositoryRelProvider implements LinkRelationProvider {
private final ObjectFactory<ResourceMappings> mappings;