DATACMNS-91 - Enforce parameter handling defined by CrudRepository.

Reject null values for id and entity values. Polished JavaDoc in terms of parameter specification.
This commit is contained in:
Oliver Gierke
2011-12-02 13:45:07 +01:00
parent a8acfed05e
commit add1336ed1
3 changed files with 44 additions and 88 deletions

View File

@@ -224,12 +224,6 @@ public class UserRepositoryTests {
assertDeleteCallDoesNotDeleteAnything(new ArrayList<User>());
}
@Test
public void deleteWithNullDoesNotDeleteAnything() throws Exception {
assertDeleteCallDoesNotDeleteAnything(null);
}
@Test
public void executesManipulatingQuery() throws Exception {