1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2011-05-25 20:56:16 +00:00
parent b26d21eb32
commit d7e9048685

View file

@ -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;
}
}