diff options
author | nitind | 2010-12-15 21:14:30 +0000 |
---|---|---|
committer | nitind | 2010-12-15 21:14:30 +0000 |
commit | e6f91dbe0bb264d3ced562d3a1c2e060a6ab9e7e (patch) | |
tree | cc6eabcc791aa4c6163727b4dbf8cde2db72772f /bundles/org.eclipse.jst.jsp.core | |
parent | 39ecd077448f0af9a6cf9d1511116617b8d9ea79 (diff) | |
download | webtools.sourceediting-e6f91dbe0bb264d3ced562d3a1c2e060a6ab9e7e.tar.gz webtools.sourceediting-e6f91dbe0bb264d3ced562d3a1c2e060a6ab9e7e.tar.xz webtools.sourceediting-e6f91dbe0bb264d3ced562d3a1c2e060a6ab9e7e.zip |
[329594] Accumulated TaglibIndexDelta can cause document reparse during load
Diffstat (limited to 'bundles/org.eclipse.jst.jsp.core')
-rw-r--r-- | bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/contentmodel/TaglibController.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/contentmodel/TaglibController.java b/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/contentmodel/TaglibController.java index bea60aa2dd..f7ffd2cb5f 100644 --- a/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/contentmodel/TaglibController.java +++ b/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/contentmodel/TaglibController.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2001, 2007 IBM Corporation and others. + * Copyright (c) 2001, 2010 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -139,10 +139,10 @@ public class TaglibController implements IDocumentSetupParticipant, IDocumentSet synchronized (_instance.fDocumentMap) { _instance.fDocumentMap.put(document, info); } - TaglibIndex.addTaglibIndexListener(info); if (document instanceof BasicStructuredDocument && document.getLength() > 0) { ((BasicStructuredDocument) document).reparse(this); } + TaglibIndex.addTaglibIndexListener(info); } } } |