tmf: Mark ITmfSourceLookup#getCallsite as @Nullable
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Wed, 27 May 2015 19:57:44 +0000 (15:57 -0400)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Thu, 2 Jul 2015 17:04:44 +0000 (13:04 -0400)
commit04ca66e5304b8e5b9bd95cfb0c14ca435d136f20
tree6a532763d549e6252b17a8ba5d71889b42b67b0f
parentb48f55e0b8e775d17c40998465f4b65ec594da95
tmf: Mark ITmfSourceLookup#getCallsite as @Nullable

Any event that implements ITmfSourceLookup may return null to
indicate there is no specific call site information for this
event.

Clarify this by marking the method @Nullable, which ensures this
case is handled gracefully.

Change-Id: I2c38e879bea8d90fb3a19aa7d16f6d6566cccb2c
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/50311
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/event/lookup/ITmfCallsite.java
tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/event/lookup/ITmfSourceLookup.java
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/viewers/events/TmfEventPropertySource.java
This page took 0.024872 seconds and 5 git commands to generate.