commit | f3815d24bc99f863fc4a6930c2e7f0a9c9348eca | [log] [tgz] |
---|---|---|
author | nsandonato <nsandonato> | Fri Oct 01 20:48:51 2010 +0000 |
committer | nsandonato <nsandonato> | Fri Oct 01 20:48:51 2010 +0000 |
tree | afe9381279b6222f5bd6168c9c841710c464b6c2 | |
parent | 6ac856fa6f7c69a35686332f3a710bbd0015c9d8 [diff] |
[325732] Add debug condition to System.out.println() in CMDocumentFactoryTLD
diff --git a/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/contentmodel/tld/CMDocumentFactoryTLD.java b/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/contentmodel/tld/CMDocumentFactoryTLD.java index 09daa42..82ff9f2 100644 --- a/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/contentmodel/tld/CMDocumentFactoryTLD.java +++ b/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/contentmodel/tld/CMDocumentFactoryTLD.java
@@ -1034,7 +1034,7 @@ String iconPath = URIHelper.normalize(((TLDDocument) document).getLargeIcon(), record.getLocation().toString() + "!/META-INF/", "/"); //$NON-NLS-1$ //$NON-NLS-2$ document.setProperty(JSP12TLDNames.LARGE_ICON, "jar:file:" + iconPath); //$NON-NLS-1$ } - if (document != null && document.getElements().getLength() == 0) { + if (_debug && document != null && document.getElements().getLength() == 0) { System.out.println("failure parsing " + record.getLocation()); //$NON-NLS-1$ } }