mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-05 16:56:04 +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) {
|
private String getStringAttr(ILaunchConfiguration config, String attributeName, String defaultValue) {
|
||||||
try {
|
try {
|
||||||
return config.getAttribute(attributeName, defaultValue);
|
return config.getAttribute(attributeName, defaultValue);
|
||||||
} catch (CoreException exc) {
|
} catch (CoreException e) {
|
||||||
return defaultValue;
|
return defaultValue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -111,7 +111,7 @@ public class GdbDebuggerPage extends AbstractCDebuggerPage implements Observer {
|
||||||
private boolean getBooleanAttr(ILaunchConfiguration config, String attributeName, boolean defaultValue) {
|
private boolean getBooleanAttr(ILaunchConfiguration config, String attributeName, boolean defaultValue) {
|
||||||
try {
|
try {
|
||||||
return config.getAttribute(attributeName, defaultValue);
|
return config.getAttribute(attributeName, defaultValue);
|
||||||
} catch (CoreException exc) {
|
} catch (CoreException e) {
|
||||||
return defaultValue;
|
return defaultValue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue