mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-20 12:19:16 +00:00
Deprecate PagedListHolder and PropertyComparator for removal
Closes gh-36139
This commit is contained in:
+4
-1
@@ -30,8 +30,11 @@ import org.springframework.util.StringUtils;
|
||||
* @author Jean-Pierre Pawlak
|
||||
* @since 26.05.2003
|
||||
* @see #setToggleAscendingOnProperty
|
||||
* @deprecated as severely outdated and superseded by more modern solutions,
|
||||
* for example in Spring Data Commons
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
@Deprecated(since = "7.0.3", forRemoval = true)
|
||||
@SuppressWarnings({"removal", "serial"})
|
||||
public class MutableSortDefinition implements SortDefinition, Serializable {
|
||||
|
||||
private String property = "";
|
||||
|
||||
@@ -49,9 +49,11 @@ import org.springframework.util.Assert;
|
||||
* @since 19.05.2003
|
||||
* @param <E> the element type
|
||||
* @see #getPageList()
|
||||
* @see org.springframework.beans.support.MutableSortDefinition
|
||||
* @deprecated as severely outdated and superseded by more modern solutions,
|
||||
* for example in Spring Data Commons
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
@Deprecated(since = "7.0.3", forRemoval = true)
|
||||
@SuppressWarnings({"removal", "serial"})
|
||||
public class PagedListHolder<E> implements Serializable {
|
||||
|
||||
/**
|
||||
|
||||
@@ -38,7 +38,11 @@ import org.springframework.util.StringUtils;
|
||||
* @since 19.05.2003
|
||||
* @param <T> the type of objects that may be compared by this comparator
|
||||
* @see org.springframework.beans.BeanWrapper
|
||||
* @deprecated as severely outdated and superseded by more modern solutions,
|
||||
* for example in Spring Data Commons
|
||||
*/
|
||||
@Deprecated(since = "7.0.3", forRemoval = true)
|
||||
@SuppressWarnings("removal")
|
||||
public class PropertyComparator<T> implements Comparator<T> {
|
||||
|
||||
protected final Log logger = LogFactory.getLog(getClass());
|
||||
|
||||
@@ -21,7 +21,10 @@ package org.springframework.beans.support;
|
||||
*
|
||||
* @author Juergen Hoeller
|
||||
* @since 26.05.2003
|
||||
* @deprecated as severely outdated and superseded by more modern solutions,
|
||||
* for example in Spring Data Commons
|
||||
*/
|
||||
@Deprecated(since = "7.0.3", forRemoval = true)
|
||||
public interface SortDefinition {
|
||||
|
||||
/**
|
||||
|
||||
@@ -32,6 +32,8 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
* @author Chris Beams
|
||||
* @since 20.05.2003
|
||||
*/
|
||||
@Deprecated(since = "7.0.3", forRemoval = true)
|
||||
@SuppressWarnings("removal")
|
||||
class PagedListHolderTests {
|
||||
|
||||
@Test
|
||||
|
||||
+2
@@ -28,6 +28,8 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
* @author Keith Donald
|
||||
* @author Chris Beams
|
||||
*/
|
||||
@Deprecated(since = "7.0.3", forRemoval = true)
|
||||
@SuppressWarnings("removal")
|
||||
class PropertyComparatorTests {
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user