We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c220c78 commit d0a3553Copy full SHA for d0a3553
src/main/java/org/springframework/data/keyvalue/core/KeyValueTemplate.java
@@ -46,6 +46,7 @@
46
* @author Oliver Gierke
47
* @author Thomas Darimont
48
* @author Mark Paluch
49
+ * @author Adeyemi Abass
50
*/
51
public class KeyValueTemplate implements KeyValueOperations, ApplicationEventPublisherAware {
52
@@ -240,7 +241,7 @@ public <T> Iterable<T> findAll(Class<T> type) {
240
241
@Override
242
public <T> Optional<T> findById(Object id, Class<T> type) {
243
- Assert.notNull(id, "Id for object to be inserted must not be null!");
244
+ Assert.notNull(id, "Id for object to be found must not be null!");
245
Assert.notNull(type, "Type to fetch must not be null!");
246
247
String keyspace = resolveKeySpace(type);
0 commit comments