Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2009-03-16 15:50:12 -0400
committerpelder2009-03-16 15:50:12 -0400
commite91d8fb9a33f5af66f576b0720b093fed084c2d9 (patch)
tree25189c3d21369c5918ddaa3342b67e9d89075445
parent098eae5666556b4e884bdfedf64f9d96306f090f (diff)
downloadorg.eclipse.jet-e91d8fb9a33f5af66f576b0720b093fed084c2d9.tar.gz
org.eclipse.jet-e91d8fb9a33f5af66f576b0720b093fed084c2d9.tar.xz
org.eclipse.jet-e91d8fb9a33f5af66f576b0720b093fed084c2d9.zip
[268866] NPE in some cases when parsing tag library descriptions
-rw-r--r--plugins/org.eclipse.jet/src/org/eclipse/jet/internal/taglib/ExtensionTagLibraryImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/taglib/ExtensionTagLibraryImpl.java b/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/taglib/ExtensionTagLibraryImpl.java
index 6949963..41a37f3 100644
--- a/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/taglib/ExtensionTagLibraryImpl.java
+++ b/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/taglib/ExtensionTagLibraryImpl.java
@@ -145,7 +145,7 @@ public class ExtensionTagLibraryImpl implements TagLibrary
{
desc = descriptions[0].getValue();
}
- return desc;
+ return desc == null ? "" : desc; //$NON-NLS-1$
}
/* (non-Javadoc)

Back to the top