summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcbateman2013-04-23 21:17:36 (EDT)
committercbateman2013-04-23 21:20:09 (EDT)
commitfe5c50edd051cb9bf15e595171df2231768c5f68 (patch)
treea5e9a1caa3c4dfd1794031a10e67c76425cbc41d
parent5db5a4437a44464107a96de7684930213a481d9e (diff)
downloadwebtools.jsf-fe5c50edd051cb9bf15e595171df2231768c5f68.zip
webtools.jsf-fe5c50edd051cb9bf15e595171df2231768c5f68.tar.gz
webtools.jsf-fe5c50edd051cb9bf15e595171df2231768c5f68.tar.bz2
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 904f499..cff8616 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;
}