DATACMNS-601 - Fixes for most of the SonarQube warnings.

This commit is contained in:
Oliver Gierke
2014-11-26 09:10:00 +01:00
parent 9a1879617e
commit e1b38faee9
31 changed files with 158 additions and 131 deletions

View File

@@ -15,7 +15,6 @@
*/
package org.springframework.data.querydsl;
import org.springframework.dao.IncorrectResultSizeDataAccessException;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
@@ -35,7 +34,8 @@ public interface QueryDslPredicateExecutor<T> {
*
* @param predicate
* @return a single entity matching the given {@link Predicate} or {@literal null} if none was found.
* @throws IncorrectResultSizeDataAccessException if the predicate yields more than one result.
* @throws org.springframework.dao.IncorrectResultSizeDataAccessException if the predicate yields more than one
* result.
*/
T findOne(Predicate predicate);