View | Details | Raw Unified | Return to bug 98684 | Differences between
and this patch

Collapse All | Expand All

(-)search/org/eclipse/jdt/internal/core/search/BasicSearchEngine.java (+1 lines)
Lines 629-634 Link Here
629
			if (copies != null) {
629
			if (copies != null) {
630
				for (int i = 0, length = copies.length; i < length; i++) {
630
				for (int i = 0, length = copies.length; i < length; i++) {
631
					ICompilationUnit workingCopy = copies[i];
631
					ICompilationUnit workingCopy = copies[i];
632
					if (!scope.encloses(workingCopy)) continue;
632
					final String path = workingCopy.getPath().toString();
633
					final String path = workingCopy.getPath().toString();
633
					if (workingCopy.isConsistent()) {
634
					if (workingCopy.isConsistent()) {
634
						IPackageDeclaration[] packageDeclarations = workingCopy.getPackageDeclarations();
635
						IPackageDeclaration[] packageDeclarations = workingCopy.getPackageDeclarations();

Return to bug 98684