Class and Description |
---|
org.springframework.util.comparator.CompoundComparator
as of Spring Framework 5.0, in favor of the standard JDK 8
Comparator.thenComparing(Comparator) |
org.springframework.util.comparator.InvertibleComparator
as of Spring Framework 5.0, in favor of the standard JDK 8
Comparator.reversed() |
Annotation Type and Description |
---|
org.springframework.lang.UsesJava7
as of 5.0 since the framework is based on Java 8+ now
|
org.springframework.lang.UsesJava8
as of 5.0 since the framework is based on Java 8+ now
|
org.springframework.lang.UsesSunHttpServer
as of 5.1, along with Spring's Sun HTTP Server support classes
|
Field and Description |
---|
org.springframework.util.ReflectionUtils.NON_BRIDGED_METHODS
as of 5.0.11, in favor of a custom
ReflectionUtils.MethodFilter |
org.springframework.cglib.core.KeyFactory.OBJECT_BY_CLASS
this customizer might result in unexpected class leak since key object still holds a strong reference to the Object and class.
It is recommended to have pre-processing method that would strip Objects and represent Classes as Strings
|
Constructor and Description |
---|
org.springframework.core.io.ClassPathResource(String, ClassLoader, Class<?>)
as of 4.3.13, in favor of selective use of
ClassPathResource.ClassPathResource(String, ClassLoader) vs ClassPathResource.ClassPathResource(String, Class) |
org.springframework.asm.Handle(int, String, String, String)
this constructor has been superseded by
Handle.Handle(int, String, String, String,
boolean) . |