We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df69cfd commit 3f91455Copy full SHA for 3f91455
src/main/java/org/springframework/data/keyvalue/core/KeyValueTemplate.java
@@ -47,6 +47,7 @@
47
* @author Thomas Darimont
48
* @author Mark Paluch
49
* @author Mert Zeybekler
50
+ * @author Adeyemi Abass
51
*/
52
public class KeyValueTemplate implements KeyValueOperations, ApplicationEventPublisherAware {
53
@@ -256,7 +257,7 @@ public <T> Iterable<T> findAll(Class<T> type) {
256
257
@Override
258
public <T> Optional<T> findById(Object id, Class<T> type) {
259
- Assert.notNull(id, "Id for object to be inserted must not be null!");
260
+ Assert.notNull(id, "Id for object to be found must not be null!");
261
Assert.notNull(type, "Type to fetch must not be null!");
262
263
String keyspace = resolveKeySpace(type);
0 commit comments