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

Removing dead code. Fixing reference bug.

This commit is contained in:
David Dykstal 2006-06-14 17:45:07 +00:00
parent f256e4bc8b
commit 2847fd0d3e

View file

@ -349,7 +349,10 @@ public class SystemFilterPoolReferenceManager extends SystemPersistableReference
*/
public void setName(String name)
{
String oldName = getName();
/*
* DWD Setting a name should schedule a save. Is this the same as a rename?
*/
// String oldName = getName(); DWD temporarily(?) removed.
if (savePolicy == ISystemFilterSavePolicies.SAVE_POLICY_ONE_FILE_PER_MANAGER)
{
IFile file = getResourceHelpers().getFile(getFolder(), getSaveFileName());
@ -581,6 +584,7 @@ public class SystemFilterPoolReferenceManager extends SystemPersistableReference
{
ISystemFilterPoolReference filterPoolReference = createSystemFilterPoolReference(filterPool);
addReferencingObject(filterPoolReference);
filterPoolReference.setParentReferenceManager(this);
invalidateFilterPoolReferencesCache();
quietSave();
// callback to provider so they can fire events in their GUI