common: Allow null messages in Activator logging helpers
authorAlexandre Montplaisir <alexmonthy@efficios.com>
Mon, 22 Feb 2016 22:49:48 +0000 (17:49 -0500)
committerAlexandre Montplaisir <alexmonthy@efficios.com>
Fri, 26 Feb 2016 02:11:06 +0000 (21:11 -0500)
commit4bcdb26a448facda4c902b502f036b01c3ff8f10
tree25e4a029ec1c3ac75938e1980bb2a56e4b116a2c
parenteff1801789407d64831e782c54d15c39d5b00fea
common: Allow null messages in Activator logging helpers

A very common message is e.getMessage(), which is not technically
guaranteed to be non-null, it would depend on the exception.

Allow the log messages to be null, we can convert them to empty
strings as needed.

Change-Id: I34695fd96368837547e8f74841668cb0b5c0c9a8
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/67183
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/src/org/eclipse/tracecompass/common/core/TraceCompassActivator.java
This page took 0.025299 seconds and 5 git commands to generate.