mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-26 17:09:05 +00:00
Revert "Introduce Ordered#NOT_ORDERED"
This reverts commit da914bcfb4 and also
removes the use of Ordered#NOT_ORDERED from EnableTransactionManagement
and ProxyTransactionManagementConfiguration in favor of defaulting to
Ordered#LOWEST_PRIORITY, which is actually the default that results
when no 'order' attribute is specified in XML.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4404 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
@@ -47,14 +47,6 @@ public interface Ordered {
|
||||
*/
|
||||
int LOWEST_PRECEDENCE = Integer.MAX_VALUE;
|
||||
|
||||
/**
|
||||
* A reserved integer value indicating that a component should
|
||||
* be treated as unordered. Users should avoid this using this
|
||||
* reserved value ({@value}) when ordering their own components.
|
||||
* Useful when populating annotation, where null cannot be specified
|
||||
* as a default for integer attributes.
|
||||
*/
|
||||
int NOT_ORDERED = (Integer.MIN_VALUE +1) / 2; // -1073741823
|
||||
|
||||
/**
|
||||
* Return the order value of this object, with a
|
||||
|
||||
Reference in New Issue
Block a user