summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2007-02-01 13:22:25 (EST)
committerpelder2007-02-01 13:22:25 (EST)
commit4eabfe0db9c662996d5337977eb53b3c309c3146 (patch)
tree0ace4d6d5ad261edde024a573389cc093f243454
parentdad421d5e61059ef3802c3635e4fa246f15f8c93 (diff)
downloadorg.eclipse.jet-4eabfe0db9c662996d5337977eb53b3c309c3146.zip
org.eclipse.jet-4eabfe0db9c662996d5337977eb53b3c309c3146.tar.gz
org.eclipse.jet-4eabfe0db9c662996d5337977eb53b3c309c3146.tar.bz2
[172506] Apply 0.7.2 fix
-rw-r--r--plugins/org.eclipse.jet/src/org/eclipse/jet/internal/taglib/control/DumpTag.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/taglib/control/DumpTag.java b/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/taglib/control/DumpTag.java
index 6bd3c57..cdc28d7 100644
--- a/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/taglib/control/DumpTag.java
+++ b/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/taglib/control/DumpTag.java
@@ -200,6 +200,9 @@ public class DumpTag extends AbstractEmptyTag {
boolean textEncountered = false;
for (int i = 0; i < children.length; i++)
{
+ if(children[i] == null) {
+ continue;
+ }
INodeInspector childInspector = InspectorManager.getInstance().getInspector(children[i]);
textEncountered = textEncountered || childInspector.getNodeKind(children[i]) == NodeKind.TEXT;