commit | 050a4bfeac009426726c899d14adc5d0ea0916df | [log] [tgz] |
---|---|---|
author | gkessler <gkessler> | Thu Jan 21 06:10:24 2010 +0000 |
committer | gkessler <gkessler> | Thu Jan 21 06:10:24 2010 +0000 |
tree | a309462ce85bde821571622f6b6ac02d8fb674f7 | |
parent | 28ebeffd6927606663f7658a40a9b0c341a0ebc8 [diff] |
fix for failing jsf.core junit
diff --git a/jsf/plugins/org.eclipse.jst.jsf.common/src/org/eclipse/jst/jsf/common/metadata/internal/ModelKeyDescriptor.java b/jsf/plugins/org.eclipse.jst.jsf.common/src/org/eclipse/jst/jsf/common/metadata/internal/ModelKeyDescriptor.java index e0c0740..380d218 100644 --- a/jsf/plugins/org.eclipse.jst.jsf.common/src/org/eclipse/jst/jsf/common/metadata/internal/ModelKeyDescriptor.java +++ b/jsf/plugins/org.eclipse.jst.jsf.common/src/org/eclipse/jst/jsf/common/metadata/internal/ModelKeyDescriptor.java
@@ -44,7 +44,7 @@ //this is a workaround for issue where jsp "uri" may upper or lower cased private String fixJSPURIIfNecessary(final String tempuri) { - if (tempuri.equals("jsp11")) //$NON-NLS-1$ + if (tempuri != null && tempuri.equals("jsp11")) //$NON-NLS-1$ return tempuri.toUpperCase(); return tempuri; }