Skip to content

Commit 382c912

Browse files
committed
DATACMNS-1052 - Sort is now Streamable.
1 parent 357efe4 commit 382c912

File tree

1 file changed

+2
-1
lines changed
  • src/main/java/org/springframework/data/domain

1 file changed

+2
-1
lines changed

src/main/java/org/springframework/data/domain/Sort.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
import java.util.Optional;
2626
import java.util.stream.Collectors;
2727

28+
import org.springframework.data.util.Streamable;
2829
import org.springframework.util.Assert;
2930
import org.springframework.util.StringUtils;
3031

@@ -36,7 +37,7 @@
3637
* @author Thomas Darimont
3738
* @author Mark Paluch
3839
*/
39-
public class Sort implements Iterable<org.springframework.data.domain.Sort.Order>, Serializable {
40+
public class Sort implements Streamable<org.springframework.data.domain.Sort.Order>, Serializable {
4041

4142
private static final long serialVersionUID = 5737186511678863905L;
4243

0 commit comments

Comments
 (0)