diff options
author | David A. Madore <david+git@madore.org> | 2010-04-18 21:07:21 +0200 |
---|---|---|
committer | David A. Madore <david+git@madore.org> | 2010-04-18 21:07:21 +0200 |
commit | 99cea43742283d7bc383021ebd52087115448159 (patch) | |
tree | 5050d4329802767b2ab173a70563379dede3d72e /org/madore/damlengine/TodoElement.java | |
parent | 9124ad9a07d19753abcb696d04483589c2a45355 (diff) | |
download | damlengine-99cea43742283d7bc383021ebd52087115448159.tar.gz damlengine-99cea43742283d7bc383021ebd52087115448159.tar.bz2 damlengine-99cea43742283d7bc383021ebd52087115448159.zip |
Rename TodoContext class to Context. Usually call "ctx" its instances.
Diffstat (limited to 'org/madore/damlengine/TodoElement.java')
-rw-r--r-- | org/madore/damlengine/TodoElement.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/org/madore/damlengine/TodoElement.java b/org/madore/damlengine/TodoElement.java index 77c7891..279b65b 100644 --- a/org/madore/damlengine/TodoElement.java +++ b/org/madore/damlengine/TodoElement.java @@ -8,7 +8,7 @@ public abstract class TodoElement extends TodoItem { public static abstract class Factory { public abstract TodoElement newItem(Element node, - TodoContext context, + Context ctx, TodoItem.Options options); } @@ -24,14 +24,14 @@ public abstract class TodoElement extends TodoItem { Element node; public TodoElement(Element node, - TodoContext context, + Context ctx, TodoItem.Options options) { - super(context, options); + super(ctx, options); this.node = node; } public static TodoElement getTodoElement(Element node, - TodoContext context, + Context ctx, TodoItem.Options options) { Factory factory = null; String nsuri = node.getNamespaceURI(); @@ -39,7 +39,7 @@ public abstract class TodoElement extends TodoItem { factory = damlFactories.get(node.getLocalName()); if ( factory == null ) factory = damlDefaultFactory; - return factory.newItem(node, context, options); + return factory.newItem(node, ctx, options); } } |