This avoids useless null checks in tmf.pcap
Change-Id: Ice73d87d4119469f297d434ca6aca10233807160
Signed-off-by: Vincent Perot <vincent.perot@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30758
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
package org.eclipse.linuxtools.tmf.core.timestamp;
+import org.eclipse.jdt.annotation.NonNull;
+
/**
* A utility class to define and manage time ranges.
*
/**
* The full possible time range
*/
- public static final TmfTimeRange ETERNITY = new EternityTimeRange();
+ public static final @NonNull TmfTimeRange ETERNITY = new EternityTimeRange();
/**
* The null time range
*/
- public static final TmfTimeRange NULL_RANGE = new TmfTimeRange();
+ public static final @NonNull TmfTimeRange NULL_RANGE = new TmfTimeRange();
// ------------------------------------------------------------------------
// Attributes