mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Cosmetics.
This commit is contained in:
parent
b26d21eb32
commit
d7e9048685
1 changed files with 2 additions and 2 deletions
|
@ -103,7 +103,7 @@ public class GdbDebuggerPage extends AbstractCDebuggerPage implements Observer {
|
|||
private String getStringAttr(ILaunchConfiguration config, String attributeName, String defaultValue) {
|
||||
try {
|
||||
return config.getAttribute(attributeName, defaultValue);
|
||||
} catch (CoreException exc) {
|
||||
} catch (CoreException e) {
|
||||
return defaultValue;
|
||||
}
|
||||
}
|
||||
|
@ -111,7 +111,7 @@ public class GdbDebuggerPage extends AbstractCDebuggerPage implements Observer {
|
|||
private boolean getBooleanAttr(ILaunchConfiguration config, String attributeName, boolean defaultValue) {
|
||||
try {
|
||||
return config.getAttribute(attributeName, defaultValue);
|
||||
} catch (CoreException exc) {
|
||||
} catch (CoreException e) {
|
||||
return defaultValue;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue