common: Annotate Optional.get() as @NonNull
authorAlexandre Montplaisir <alexmonthy@efficios.com>
Mon, 22 Feb 2016 21:41:14 +0000 (16:41 -0500)
committerAlexandre Montplaisir <alexmonthy@efficios.com>
Tue, 23 Feb 2016 20:49:32 +0000 (15:49 -0500)
commitb60a07b2349681dd40da39fe1d90379d2c2161bf
treed632c9a19b0b7b060659fb5b49628dcdc4665c88
parent281def427f694b2f5883794a8cd91b4a4cca4018
common: Annotate Optional.get() as @NonNull

Optional.get() throws an exception if the value is null, so if the
method returns the value is necessarily @NonNull.

Change-Id: I25cea786763b567b8f7cafcb5a4119f0d359a48b
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/67099
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
common/org.eclipse.tracecompass.common.core/annotations/java/util/Optional.eea [new file with mode: 0644]
lttng/org.eclipse.tracecompass.lttng2.kernel.core/src/org/eclipse/tracecompass/internal/lttng2/kernel/core/analysis/graph/model/LttngWorker.java
This page took 0.026499 seconds and 5 git commands to generate.