mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
Cosmetics.
This commit is contained in:
parent
49a4f3518f
commit
3a5209e6ff
1 changed files with 1 additions and 1 deletions
|
@ -696,7 +696,7 @@ public class CDebugUtils {
|
||||||
public static <V> V getAttribute(Map<String, ?> attributes, String key, V defaultValue) {
|
public static <V> V getAttribute(Map<String, ?> attributes, String key, V defaultValue) {
|
||||||
Object value = attributes.get(key);
|
Object value = attributes.get(key);
|
||||||
if (defaultValue.getClass().isInstance(value)) {
|
if (defaultValue.getClass().isInstance(value)) {
|
||||||
return (V)value;
|
return (V) value;
|
||||||
}
|
}
|
||||||
return defaultValue;
|
return defaultValue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue