diff options
author | nitind | 2007-02-14 23:37:39 +0000 |
---|---|---|
committer | nitind | 2007-02-14 23:37:39 +0000 |
commit | 230de802bc01eaf44413ced5369e4f964df233bb (patch) | |
tree | 86fb2fd2c5cc2831c5e8c7e5fec9a01774782f6f /bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/java/search/JSPSearchSupport.java | |
parent | 44f68d6226ce5bea55a4d5c3153544077e470d24 (diff) | |
download | webtools.sourceediting-230de802bc01eaf44413ced5369e4f964df233bb.tar.gz webtools.sourceediting-230de802bc01eaf44413ced5369e4f964df233bb.tar.xz webtools.sourceediting-230de802bc01eaf44413ced5369e4f964df233bb.zip |
[174139] ClassCastException: Indexers have to use IPath instead of String
Diffstat (limited to 'bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/java/search/JSPSearchSupport.java')
-rw-r--r-- | bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/java/search/JSPSearchSupport.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/java/search/JSPSearchSupport.java b/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/java/search/JSPSearchSupport.java index aaf8de4013..2539c63ec4 100644 --- a/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/java/search/JSPSearchSupport.java +++ b/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/java/search/JSPSearchSupport.java @@ -469,7 +469,7 @@ public class JSPSearchSupport { //how can we make sure participant indexLocations are updated at startup? public final IPath computeIndexLocation(IPath containerPath) { - String indexLocation = null; + IPath indexLocation = null; // we don't want to inadvertently use a JDT Index // we want to be sure to use the Index from the JSP location //Object obj = indexLocations.get(containerPath); @@ -483,14 +483,14 @@ public class JSPSearchSupport { String fileName = Long.toString(this.fChecksumCalculator.getValue()) + ".index"; //$NON-NLS-1$ // this is the only difference from // IndexManager#computeIndexLocation(...) - indexLocation = getModelJspPluginWorkingLocation().append(fileName).toOSString(); + indexLocation = getModelJspPluginWorkingLocation().append(fileName); // pa_TODO need to add to java path too, so JDT search support knows // there should be a non internal way to do this. // https://bugs.eclipse.org/bugs/show_bug.cgi?id=77564 JavaModelManager.getJavaModelManager().getIndexManager().indexLocations.put(containerPath, indexLocation); //} - return new Path(indexLocation); + return indexLocation; } // copied from JDT IndexManager |