| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
Use @Override annotation. Limit accessibility of fields. Make final
what can be. Use complex enums. Don't ignore exceptions. Some more
changes on exceptions thrown.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
constructors) to store classes to instantiate.
Now every subclass of TodoElement or TodoAttr should also come with a
nested subclass of TodoElement.Factory or TodoAttr.Factory which just
contains a(n instance) method to call its constructor. In essecne,
the factory instance is just used as a pointer to the class to create
(or its constructor, as in the previous version).
|
|
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.
|