1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-25 01:45:33 +02:00

some updates to help with junit test stuff

This commit is contained in:
David McKnight 2006-07-10 19:13:52 +00:00
parent 0f27760625
commit 096546c188
4 changed files with 15 additions and 0 deletions

View file

@ -259,6 +259,7 @@ public abstract class AbstractDStoreService implements IDStoreService
_initializeStatus = null;
_cmdDescriptorMap.clear();
_minerElement = null;
_statusMonitor = null;
}
protected void initMiner(IProgressMonitor monitor)

View file

@ -79,6 +79,12 @@ public class DStoreFileService extends AbstractDStoreService implements IFileSer
_fileTypeRegistry = fileTypeRegistry;
}
public void uninitService(IProgressMonitor monitor)
{
super.uninitService(monitor);
_fileElementMap.clear();
}
public String getName()
{
return ServiceResources.DStore_File_Service_Label;

View file

@ -2157,6 +2157,10 @@ public class SystemRegistry implements ISystemRegistry, ISystemModelChangeEvents
if ((defaultUserId != null) && (defaultUserId.length() == 0))
defaultUserId = null;
conn = pool.createHost(systemType, connectionName, hostName, description, defaultUserId, defaultUserIdLocation);
if (conn == null) // conn already exists
{
conn = pool.getHost(connectionName);
}
if (promptable)
conn.setPromptable(true);
}

View file

@ -1212,7 +1212,11 @@ public abstract class SubSystemConfiguration implements ISubSystemConfiguration
{
invalidateSubSystemCache(conn); // re-gen list of subsystems-by-connection on next call
if (creatingConnection)
{
if (subSystemsRestoredFlags == null)
reset();
subSystemsRestoredFlags.put(conn, Boolean.TRUE); // do not try to restore subsequently. Nothing to restore!
}
ISubSystem subsys = createSubSystemInternal(conn);
if (subsys != null)
{