releng: Transition to jdt.annotation 2.0
[deliverable/tracecompass.git] / lttng / org.eclipse.tracecompass.lttng2.kernel.core / src / org / eclipse / tracecompass / internal / lttng2 / kernel / core / analysis / vm / module / VirtualMachineCpuAnalysis.java
index 6cc1155b8abdd8a61fdbdd89e00a7e8fa166444e..22b17a7c0d614302cf535d094b3f4e74102bf481 100644 (file)
@@ -110,7 +110,7 @@ public class VirtualMachineCpuAnalysis extends TmfStateSystemAnalysisModule {
          * Create the multimap for threads with the appropriate comparator
          * objects for keys and values
          */
-        final Multimap<Integer, ITmfStateInterval> map = NonNullUtils.checkNotNull(TreeMultimap.<Integer, ITmfStateInterval> create(
+        final Multimap<Integer, ITmfStateInterval> map = NonNullUtils.checkNotNull(TreeMultimap.<@NonNull Integer, @NonNull ITmfStateInterval> create(
                 new Comparator<Integer>() {
                     @Override
                     public int compare(@Nullable Integer arg0, @Nullable Integer arg1) {
@@ -195,9 +195,6 @@ public class VirtualMachineCpuAnalysis extends TmfStateSystemAnalysisModule {
          * module
          */
         for (Integer tid : KernelThreadInformationProvider.getThreadIds(kernelModule)) {
-            if (tid == null) {
-                throw new IllegalStateException();
-            }
             map.putAll(tid, KernelThreadInformationProvider.getStatusIntervalsForThread(kernelModule, tid, start, end, resolution, monitor));
             if (monitor.isCanceled()) {
                 return map;
This page took 0.038759 seconds and 5 git commands to generate.