Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2009-08-20 09:07:50 -0400
committerpelder2009-08-20 09:07:50 -0400
commitc194591db5bc0dc5feed91cba61f44ae9458505f (patch)
tree9871475a26762bdc20a9d2519e0c07852abc54ac
parentdee8f53f7c229055152e21c3318f300f0672b6b5 (diff)
downloadorg.eclipse.jet-c194591db5bc0dc5feed91cba61f44ae9458505f.tar.gz
org.eclipse.jet-c194591db5bc0dc5feed91cba61f44ae9458505f.tar.xz
org.eclipse.jet-c194591db5bc0dc5feed91cba61f44ae9458505f.zip
[280669] TransformContextExtender behaves differently when deprecated constructor is used
-rw-r--r--plugins/org.eclipse.jet/src/org/eclipse/jet/transform/TransformContextExtender.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/org.eclipse.jet/src/org/eclipse/jet/transform/TransformContextExtender.java b/plugins/org.eclipse.jet/src/org/eclipse/jet/transform/TransformContextExtender.java
index 1fc7d41..bd7987a 100644
--- a/plugins/org.eclipse.jet/src/org/eclipse/jet/transform/TransformContextExtender.java
+++ b/plugins/org.eclipse.jet/src/org/eclipse/jet/transform/TransformContextExtender.java
@@ -92,7 +92,9 @@ public final class TransformContextExtender
{
this.context = context;
this.contextData = contextData;
- context.setTagFactory(new TagFactoryImpl(context));
+ if(context.getTagFactory() == null) {
+ context.setTagFactory(new TagFactoryImpl(context));
+ }
}
public String getId()

Back to the top