common: Annotate TreeMultimap.create()
authorAlexandre Montplaisir <alexmonthy@efficios.com>
Wed, 9 Mar 2016 23:14:53 +0000 (18:14 -0500)
committerAlexandre Montplaisir <alexmonthy@efficios.com>
Fri, 11 Mar 2016 17:32:35 +0000 (12:32 -0500)
commit722d5c71417950463ee36dcd5d8bee0bd2cedd72
tree1864897f68620462d748a7875bf8fba32621145a
parentdc303fab9fa88751b406ab2d7db654b7df16f11d
common: Annotate TreeMultimap.create()

All variants of this method return a new map, so it can be
annotated @NonNull.

Remove now-unnecessary checkNotNull() checks where this was called.

While at it, rewrote some comparator definitions in more succinct
lambda expressions.

Change-Id: Ic7a78eb38b9cf3fd2b8e79ab385d73c5d4cc2961
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/68106
Reviewed-by: Hudson CI
common/org.eclipse.tracecompass.common.core/annotations/com/google/common/collect/TreeMultimap.eea [new file with mode: 0644]
lttng/org.eclipse.tracecompass.lttng2.kernel.core/src/org/eclipse/tracecompass/internal/lttng2/kernel/core/analysis/vm/module/VirtualMachineCpuAnalysis.java
statesystem/org.eclipse.tracecompass.segmentstore.core/src/org/eclipse/tracecompass/segmentstore/core/treemap/TreeMapStore.java
This page took 0.025178 seconds and 5 git commands to generate.