diff options
author | David A. Madore <david@procyon.(none)> | 2010-04-15 23:06:03 +0200 |
---|---|---|
committer | David A. Madore <david@procyon.(none)> | 2010-04-15 23:06:03 +0200 |
commit | c18d6e561179a3a96d93a9ae8c6034115ba36923 (patch) | |
tree | d349bbc9f2e53d45e693b15b965812d7b531fe0d /org/madore/damlengine/TodoDeque.java | |
parent | 9176d80ae6dcad88da79714d934b226afe66c1ad (diff) | |
download | damlengine-c18d6e561179a3a96d93a9ae8c6034115ba36923.tar.gz damlengine-c18d6e561179a3a96d93a9ae8c6034115ba36923.tar.bz2 damlengine-c18d6e561179a3a96d93a9ae8c6034115ba36923.zip |
Change dispatching approach: handlers are now part of todoItems.
Instead of dispatching the todo item in function of the DAML node's
local name at todo-handling time, the appropriate todo handler
subclass is now instantiated in the todo deque by dispatching the
creation of the todo item to the appropriate constructor.
Diffstat (limited to 'org/madore/damlengine/TodoDeque.java')
-rw-r--r-- | org/madore/damlengine/TodoDeque.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org/madore/damlengine/TodoDeque.java b/org/madore/damlengine/TodoDeque.java index eb90006..4cb1d38 100644 --- a/org/madore/damlengine/TodoDeque.java +++ b/org/madore/damlengine/TodoDeque.java @@ -41,7 +41,7 @@ public final class TodoDeque { TodoItem it = removeNext(); if ( it != null ) { assert(it.ownerDeque == this); - it.dispatch(); + it.handle(); return true; } else return false; |