1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2011-05-26 20:48:33 +00:00
parent 49a4f3518f
commit 3a5209e6ff

View file

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