releng: Transition to jdt.annotation 2.0
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.ui / src / org / eclipse / tracecompass / tmf / ui / viewers / events / TmfEventPropertySource.java
index 2e88c5a80c64dd007fa6f04a16e9baac66beeb92..a93eb88099d662cb47922373087a3151f6c5b2f0 100644 (file)
@@ -312,7 +312,7 @@ public class TmfEventPropertySource implements IPropertySource {
         /* Display custom attributes, if available */
         if (fEvent instanceof ITmfCustomAttributes) {
             ITmfCustomAttributes event = (ITmfCustomAttributes) fEvent;
-            if (event.listCustomAttributes() != null && !event.listCustomAttributes().isEmpty()) {
+            if (!event.listCustomAttributes().isEmpty()) {
                 descriptors.add(new ReadOnlyTextPropertyDescriptor(ID_CUSTOM_ATTRIBUTE, NAME_CUSTOM_ATTRIBUTES));
             }
         }
This page took 0.024593 seconds and 5 git commands to generate.