Skip to content

Commit b0c05e7

Browse files
therepanicmp911de
authored andcommitted
Fix integer overflow in @Order of RepositoryRelProvider.
Signed-off-by: Andrey Litvitski <[email protected]> Closes: #2477 Original pull request: #2478
1 parent 6f218f3 commit b0c05e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/RepositoryRelProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
*
2929
* @author Oliver Gierke
3030
*/
31-
@Order(Ordered.LOWEST_PRECEDENCE + 10)
31+
@Order(Ordered.LOWEST_PRECEDENCE - 10)
3232
public class RepositoryRelProvider implements LinkRelationProvider {
3333

3434
private final ObjectFactory<ResourceMappings> mappings;

0 commit comments

Comments
 (0)