projects
/
deliverable
/
tracecompass.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix some null warnings
[deliverable/tracecompass.git]
/
tmf
/
org.eclipse.tracecompass.tmf.ui
/
src
/
org
/
eclipse
/
tracecompass
/
tmf
/
ui
/
viewers
/
events
/
TmfEventPropertySource.java
diff --git
a/tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/viewers/events/TmfEventPropertySource.java
b/tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/viewers/events/TmfEventPropertySource.java
index a93eb88099d662cb47922373087a3151f6c5b2f0..693b660d20af65d8d60359daf8fc4f23ef6408fd 100644
(file)
--- a/
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/viewers/events/TmfEventPropertySource.java
+++ b/
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/viewers/events/TmfEventPropertySource.java
@@
-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.