1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-30 12:25:35 +02:00

Remove runtime dependency of PDOM, bug 282576.

This commit is contained in:
Markus Schorn 2009-07-09 10:19:35 +00:00
parent ee19795b6e
commit d3770bfd8b
2 changed files with 2 additions and 2 deletions

View file

@ -87,7 +87,6 @@ import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.OperationCanceledException;
import org.eclipse.core.runtime.Platform;
import org.eclipse.core.runtime.PlatformObject;
import org.eclipse.core.runtime.Status;
@ -96,7 +95,7 @@ import org.eclipse.core.runtime.Status;
*/
public class PDOM extends PlatformObject implements IPDOM {
private static final int BLOCKED_WRITELOCK_OUTPUT_INTERVAL = 30000;
static boolean sDEBUG_LOCKS= "true".equals(Platform.getDebugOption(CCorePlugin.PLUGIN_ID + "/debug/index/locks")); //$NON-NLS-1$//$NON-NLS-2$
static boolean sDEBUG_LOCKS= false; // initialized in the PDOMManager, because IBM needs PDOM independent of runtime plugin.
/**
* Identifier for PDOM format

View file

@ -189,6 +189,7 @@ public class PDOMManager implements IWritableIndexManager, IListener {
private int fLastNotifiedState= IndexerStateEvent.STATE_IDLE;
public PDOMManager() {
PDOM.sDEBUG_LOCKS= "true".equals(Platform.getDebugOption(CCorePlugin.PLUGIN_ID + "/debug/index/locks")); //$NON-NLS-1$//$NON-NLS-2$
fProjectDescriptionListener= new CProjectDescriptionListener(this);
fJobChangeListener= new JobChangeListener(this);
fPreferenceChangeListener= new IPreferenceChangeListener() {