Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 103306 | Differences between
and this patch

Collapse All | Expand All

(-)FileBufferModelManager.java (-3 / +2 lines)
Lines 152-158 Link Here
152
		IPath fLocation;
152
		IPath fLocation;
153
		IPath fPath;
153
		IPath fPath;
154
		final static String SEPARATOR = "/"; //$NON-NLS-1$ 
154
		final static String SEPARATOR = "/"; //$NON-NLS-1$ 
155
		final static String FILE_PREFIX = "file://";
155
		final static String FILE_PREFIX = "file:///";
156
156
157
		CommonURIResolver(IPath path, IPath location) {
157
		CommonURIResolver(IPath path, IPath location) {
158
			fLocation = location;
158
			fLocation = location;
Lines 185-192 Link Here
185
				reference = FILE_PREFIX + baseReference;
185
				reference = FILE_PREFIX + baseReference;
186
			}
186
			}
187
			String result = URIResolverPlugin.createResolver().resolve(reference, null, uri);
187
			String result = URIResolverPlugin.createResolver().resolve(reference, null, uri);
188
			// System.out.println("URIResolverPlugin.createResolver().resolve("
188
			// System.out.println("URIResolverPlugin.createResolver().resolve(" + reference + ", null, " + uri + ") = " + result);
189
			// + reference + ", null, " +uri+") = " + result);
190
			if (!baseHasPrefix && result.startsWith(FILE_PREFIX) && result.length() > FILE_PREFIX.length()) {
189
			if (!baseHasPrefix && result.startsWith(FILE_PREFIX) && result.length() > FILE_PREFIX.length()) {
191
				result = result.substring(FILE_PREFIX.length());
190
				result = result.substring(FILE_PREFIX.length());
192
			}
191
			}

Return to bug 103306