mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 02:06:01 +02:00
Cosmetics.
This commit is contained in:
parent
bcf7ea67a0
commit
4080c880f1
1 changed files with 6 additions and 7 deletions
|
@ -6,7 +6,7 @@
|
||||||
* http://www.eclipse.org/legal/epl-v10.html
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* QNX Software Systems - Initial API and implementation
|
* QNX Software Systems - Initial API and implementation
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.cdt.debug.internal.core.sourcelookup;
|
package org.eclipse.cdt.debug.internal.core.sourcelookup;
|
||||||
|
|
||||||
|
@ -23,14 +23,13 @@ public class CommonSourceLookupDirector extends CSourceLookupDirector {
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see org.eclipse.debug.core.sourcelookup.AbstractSourceLookupDirector#setSourceContainers(org.eclipse.debug.core.sourcelookup.ISourceContainer[])
|
* @see org.eclipse.debug.core.sourcelookup.AbstractSourceLookupDirector#setSourceContainers(org.eclipse.debug.core.sourcelookup.ISourceContainer[])
|
||||||
*/
|
*/
|
||||||
public void setSourceContainers( ISourceContainer[] containers ) {
|
public void setSourceContainers(ISourceContainer[] containers) {
|
||||||
try {
|
try {
|
||||||
super.setSourceContainers( containers );
|
super.setSourceContainers(containers);
|
||||||
CDebugCorePlugin.getDefault().getPluginPreferences().setValue( ICDebugInternalConstants.PREF_COMMON_SOURCE_CONTAINERS, getMemento() );
|
CDebugCorePlugin.getDefault().getPluginPreferences().setValue(ICDebugInternalConstants.PREF_COMMON_SOURCE_CONTAINERS, getMemento());
|
||||||
CDebugCorePlugin.getDefault().savePluginPreferences();
|
CDebugCorePlugin.getDefault().savePluginPreferences();
|
||||||
}
|
} catch (CoreException e) {
|
||||||
catch( CoreException e ) {
|
CDebugCorePlugin.log(e.getStatus());
|
||||||
CDebugCorePlugin.log( e.getStatus() );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue