Fix some null warnings
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.ui / src / org / eclipse / tracecompass / tmf / ui / viewers / events / TmfEventPropertySource.java
index a93eb88099d662cb47922373087a3151f6c5b2f0..693b660d20af65d8d60359daf8fc4f23ef6408fd 100644 (file)
@@ -255,6 +255,9 @@ public class TmfEventPropertySource implements IPropertySource {
 
         @Override
         public Object getPropertyValue(Object id) {
+            if (!(id instanceof String)) {
+                return null;
+            }
             return event.getCustomAttribute((String) id);
         }
 
This page took 0.024698 seconds and 5 git commands to generate.