You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2015/02/03 23:57:18 UTC

[5/5] isis git commit: ISIS-928: tiny update to ToDo app example.

ISIS-928: tiny update to ToDo app example.


Project: http://git-wip-us.apache.org/repos/asf/isis/repo
Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/e37a6faa
Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/e37a6faa
Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/e37a6faa

Branch: refs/heads/master
Commit: e37a6faa41ac7b791b57f2b3b5cbd9501615eaa8
Parents: 7d8a5ac
Author: Dan Haywood <da...@haywood-associates.co.uk>
Authored: Tue Feb 3 22:52:36 2015 +0000
Committer: Dan Haywood <da...@haywood-associates.co.uk>
Committed: Tue Feb 3 22:52:36 2015 +0000

----------------------------------------------------------------------
 .../dom/src/main/java/dom/todo/ToDoItemSubscriptions.java    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/isis/blob/e37a6faa/example/application/todoapp/dom/src/main/java/dom/todo/ToDoItemSubscriptions.java
----------------------------------------------------------------------
diff --git a/example/application/todoapp/dom/src/main/java/dom/todo/ToDoItemSubscriptions.java b/example/application/todoapp/dom/src/main/java/dom/todo/ToDoItemSubscriptions.java
index 7359856..91b0ee8 100644
--- a/example/application/todoapp/dom/src/main/java/dom/todo/ToDoItemSubscriptions.java
+++ b/example/application/todoapp/dom/src/main/java/dom/todo/ToDoItemSubscriptions.java
@@ -232,7 +232,7 @@ public class ToDoItemSubscriptions {
             case EXECUTING:
                 break;
             case EXECUTED:
-                LOG.info("Received ActionInteractionEvent, " + ev.getSource().toString() + ", invoked " + ev.getIdentifier().getMemberName());
+                LOG.info("Received ActionDomainEvent, " + ev.getSource().toString() + ", invoked " + ev.getIdentifier().getMemberName());
                 onExecutedThrowExceptionIfSet(ev);
                 break;
         }
@@ -264,7 +264,7 @@ public class ToDoItemSubscriptions {
             case EXECUTING:
                 break;
             case EXECUTED:
-                LOG.info("Received PropertyInteractionEvent, " + ev.getSource().toString() + ", changed " + ev.getIdentifier().getMemberName() + " : " + ev.getOldValue() + " -> " + ev.getNewValue());
+                LOG.info("Received PropertyDomainEvent, " + ev.getSource().toString() + ", changed " + ev.getIdentifier().getMemberName() + " : " + ev.getOldValue() + " -> " + ev.getNewValue());
                 onExecutedThrowExceptionIfSet(ev);
 
                 if(ev.getIdentifier().getMemberName().contains("description")) {
@@ -314,9 +314,9 @@ public class ToDoItemSubscriptions {
                 break;
             case EXECUTED:
                 if(ev.getOf() == CollectionDomainEvent.Of.ADD_TO) {
-                    LOG.info("Received CollectionInteractionEvent, " + ev.getSource().toString() + ", added to " + ev.getIdentifier().getMemberName() + " : " + ev.getValue());
+                    LOG.info("Received CollectionDomainEvent, " + ev.getSource().toString() + ", added to " + ev.getIdentifier().getMemberName() + " : " + ev.getValue());
                 } else {
-                    LOG.info("Received CollectionInteractionEvent, " + ev.getSource().toString() + ", removed from " + ev.getIdentifier().getMemberName() + " : " + ev.getValue());
+                    LOG.info("Received CollectionDomainEvent, " + ev.getSource().toString() + ", removed from " + ev.getIdentifier().getMemberName() + " : " + ev.getValue());
                 }
                 onExecutedThrowExceptionIfSet(ev);
                 break;