Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcbateman2013-04-24 01:17:36 +0000
committercbateman2013-04-24 01:20:09 +0000
commitfe5c50edd051cb9bf15e595171df2231768c5f68 (patch)
treea5e9a1caa3c4dfd1794031a10e67c76425cbc41d
parent5db5a4437a44464107a96de7684930213a481d9e (diff)
downloadwebtools.jsf-fe5c50edd051cb9bf15e595171df2231768c5f68.tar.gz
webtools.jsf-fe5c50edd051cb9bf15e595171df2231768c5f68.tar.xz
webtools.jsf-fe5c50edd051cb9bf15e595171df2231768c5f68.zip
Fix for 406385. We should only ignore the entry out of hand if it is
less than ".taglib.xml" in length.
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facelet.core/src/org/eclipse/jst/jsf/facelet/core/internal/registry/taglib/JarFileFaceletTaglibLocator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facelet.core/src/org/eclipse/jst/jsf/facelet/core/internal/registry/taglib/JarFileFaceletTaglibLocator.java b/jsf/plugins/org.eclipse.jst.jsf.facelet.core/src/org/eclipse/jst/jsf/facelet/core/internal/registry/taglib/JarFileFaceletTaglibLocator.java
index 904f49991..cff861687 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facelet.core/src/org/eclipse/jst/jsf/facelet/core/internal/registry/taglib/JarFileFaceletTaglibLocator.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.facelet.core/src/org/eclipse/jst/jsf/facelet/core/internal/registry/taglib/JarFileFaceletTaglibLocator.java
@@ -74,7 +74,7 @@ public class JarFileFaceletTaglibLocator extends AbstractFaceletTaglibLocator
if (name != null)
{
final int nameLength = name.length();
- if (nameLength > ".taglib.xml".length() || !name.endsWith(".taglib.xml")) //$NON-NLS-1$ //$NON-NLS-2$
+ if (nameLength < ".taglib.xml".length() || !name.endsWith(".taglib.xml")) //$NON-NLS-1$ //$NON-NLS-2$
{
return false;
}

Back to the top