mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-14 03:35:37 +02:00
Revert "bug 378978: [sd90] Reduce scope of scheduling rule by creating language.settings.xml in advance"
This reverts commit e9d7946b5a
.
This commit is contained in:
parent
e9d7946b5a
commit
de2ec5102b
1 changed files with 1 additions and 14 deletions
|
@ -10,7 +10,6 @@
|
|||
*******************************************************************************/
|
||||
package org.eclipse.cdt.internal.core.language.settings.providers;
|
||||
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.net.URI;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
|
@ -917,19 +916,7 @@ public class LanguageSettingsProvidersSerializer {
|
|||
}
|
||||
}
|
||||
if (folder.isAccessible()) {
|
||||
// Create dummy file to reduce scheduling to the file itself
|
||||
if (!fileStorePrj.exists()) {
|
||||
try {
|
||||
fileStorePrj.create(new ByteArrayInputStream("<project/>".getBytes()), true, null); //$NON-NLS-1$
|
||||
} catch (CoreException e) {
|
||||
CCorePlugin.log(e);
|
||||
}
|
||||
}
|
||||
if (fileStorePrj.exists()) {
|
||||
rule = fileStorePrj;
|
||||
} else {
|
||||
rule = folder;
|
||||
}
|
||||
rule = folder;
|
||||
}
|
||||
}
|
||||
if (rule == null) {
|
||||
|
|
Loading…
Add table
Reference in a new issue