mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Cosmetics.
This commit is contained in:
parent
ac2279adea
commit
ad1982ec67
2 changed files with 10 additions and 12 deletions
|
@ -109,11 +109,8 @@ public class ExternalExportProjectProvider extends AbstractExportProjectProvider
|
||||||
* @return a new project
|
* @return a new project
|
||||||
* @throws CoreException
|
* @throws CoreException
|
||||||
*/
|
*/
|
||||||
private ICProject createCCProject(
|
private ICProject createCCProject(final String projectName, final File location,
|
||||||
final String projectName,
|
final List<String> includeFiles) throws CoreException {
|
||||||
final File location,
|
|
||||||
final List<String> includeFiles
|
|
||||||
) throws CoreException {
|
|
||||||
final IWorkspace ws = ResourcesPlugin.getWorkspace();
|
final IWorkspace ws = ResourcesPlugin.getWorkspace();
|
||||||
final ICProject newProject[] = new ICProject[1];
|
final ICProject newProject[] = new ICProject[1];
|
||||||
|
|
||||||
|
@ -175,7 +172,8 @@ public class ExternalExportProjectProvider extends AbstractExportProjectProvider
|
||||||
}
|
}
|
||||||
|
|
||||||
private ICConfigurationDescription newCfg(ICProjectDescription des, String project, String config) throws CoreException {
|
private ICConfigurationDescription newCfg(ICProjectDescription des, String project, String config) throws CoreException {
|
||||||
CDefaultConfigurationData data= new CDefaultConfigurationData(project+"."+config, project+" "+config+" name", null); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
|
CDefaultConfigurationData data= new CDefaultConfigurationData(project + "." + config, //$NON-NLS-1$
|
||||||
|
project + " " + config + " name", null); //$NON-NLS-1$ //$NON-NLS-2$
|
||||||
data.initEmptyData();
|
data.initEmptyData();
|
||||||
return des.createConfiguration(CCorePlugin.DEFAULT_PROVIDER_ID, data);
|
return des.createConfiguration(CCorePlugin.DEFAULT_PROVIDER_ID, data);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue