summaryrefslogtreecommitdiffstats
path: root/org/madore/damlengine/TodoEntryElement.java
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2011-08-26 16:53:03 +0200
committerDavid A. Madore <david+git@madore.org>2011-08-26 16:53:03 +0200
commit961bdfc66151b9aef46149e4730110ef409e5587 (patch)
tree4b6ad9a0e8253905af8d8f838ef2668fec4bfc0e /org/madore/damlengine/TodoEntryElement.java
parent7d3f4db185f5499160228afb228ecac6c6d22476 (diff)
downloaddamlengine-961bdfc66151b9aef46149e4730110ef409e5587.tar.gz
damlengine-961bdfc66151b9aef46149e4730110ef409e5587.tar.bz2
damlengine-961bdfc66151b9aef46149e4730110ef409e5587.zip
Move most of the context to a "general context" substructure.
This is so as to make sure that cloning (which does a shallow copy) gives us references to the same mutable content.
Diffstat (limited to 'org/madore/damlengine/TodoEntryElement.java')
-rw-r--r--org/madore/damlengine/TodoEntryElement.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org/madore/damlengine/TodoEntryElement.java b/org/madore/damlengine/TodoEntryElement.java
index 14560a5..4853a9a 100644
--- a/org/madore/damlengine/TodoEntryElement.java
+++ b/org/madore/damlengine/TodoEntryElement.java
@@ -70,7 +70,7 @@ public final class TodoEntryElement extends TodoDefaultElement {
header.appendChild(ctx.doc.createTextNode(" ("+entryDowStr+")"));
Context ctx2 = ctx.clone();
- ctx2.entryCtx
+ ctx2.ent
= new Context.EntryContext(entryYearStr, entryMonthStr, entryDayStr,
entryNumberStr, entryDowStr);