1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Patch for Bogdan Gheorghe

Here is a patch that should get the build going again...
This commit is contained in:
John Camelon 2003-09-09 20:13:37 +00:00
parent 7ff5917dad
commit f2feec1e3c
2 changed files with 7 additions and 7 deletions

View file

@ -150,9 +150,9 @@ public class IndexManagerTests extends TestCase {
cproject = project; cproject = project;
cproject.open(null); cproject.open(null);
} }
finally{
return cproject; return cproject;
}
} }
private IFile importFile(String fileName, String resourceLocation)throws Exception{ private IFile importFile(String fileName, String resourceLocation)throws Exception{

View file

@ -111,7 +111,7 @@ public class BaseSearchTest extends TestCase implements ICSearchConstants {
} }
} }
private IProject createProject(String projectName) { private IProject createProject(String projectName) throws CoreException {
IWorkspaceRoot root = workspace.getRoot(); IWorkspaceRoot root = workspace.getRoot();
IProject project = root.getProject(projectName); IProject project = root.getProject(projectName);
IProject cproject = null; IProject cproject = null;
@ -152,9 +152,9 @@ public class BaseSearchTest extends TestCase implements ICSearchConstants {
cproject = project; cproject = project;
cproject.open(null); cproject.open(null);
} }
finally{
return cproject; return cproject;
}
} }