Changeset 15:762f9bfb3f23

Updated logmessage and javadoc
author unexist
date Wed, 11 Aug 2021 14:30:11 +0200
parents 00fed0125c78
children fa1e2f26967f
files src/main/java/dev/unexist/showcase/todo/domain/todo/TodoService.java src/main/java/dev/unexist/showcase/todo/infrastructure/persistence/ListTodoRepository.java
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/java/dev/unexist/showcase/todo/domain/todo/TodoService.java	Wed Aug 11 13:58:48 2021 +0200
+++ b/src/main/java/dev/unexist/showcase/todo/domain/todo/TodoService.java	Wed Aug 11 14:30:11 2021 +0200
@@ -27,7 +27,7 @@
      *
      * @param  base  A {@link TodoBase} entry
      *
-     * @return
+     * @return Either {@code true} on success; otherwise {@code false}
      **/
 
     public boolean create(TodoBase base) {
--- a/src/main/java/dev/unexist/showcase/todo/infrastructure/persistence/ListTodoRepository.java	Wed Aug 11 13:58:48 2021 +0200
+++ b/src/main/java/dev/unexist/showcase/todo/infrastructure/persistence/ListTodoRepository.java	Wed Aug 11 14:30:11 2021 +0200
@@ -67,7 +67,7 @@
 
             ret = true;
         } catch (IndexOutOfBoundsException e) {
-            LOGGER.warn("update: id={} not found", id);
+            LOGGER.warn("deleteById: id={} not found", id);
         }
 
         return ret;