DATACMNS-867 - Cleanups.

SliceImpl now already checks Sort instance for not null. Removed unnecessary warnings supression.
This commit is contained in:
Oliver Gierke
2017-03-23 13:27:13 +01:00
parent bc28a6b094
commit baccb412f0
2 changed files with 1 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ public class SliceImpl<T> extends Chunk<T> {
* @param content must not be {@literal null}.
*/
public SliceImpl(List<T> content) {
this(content, null, false);
this(content, Pageable.unpaged(), false);
}
/*

View File

@@ -74,7 +74,6 @@ public class ResultProcessorUnitTests {
}
@Test // DATACMNS-89
@SuppressWarnings("unchecked")
public void createsListOfProjectionsFormNestedLists() throws Exception {
ResultProcessor information = getProcessor("findAllProjection");