common: Annotate Pattern.compile()
authorAlexandre Montplaisir <alexmonthy@efficios.com>
Wed, 9 Mar 2016 23:22:20 +0000 (18:22 -0500)
committerAlexandre Montplaisir <alexmonthy@efficios.com>
Fri, 11 Mar 2016 17:32:45 +0000 (12:32 -0500)
commitdeab5300afa8d58fc31bfc336ced85c764dca4ce
tree938817aa01d872a3c946a908364b24b4440ef8d9
parent722d5c71417950463ee36dcd5d8bee0bd2cedd72
common: Annotate Pattern.compile()

Both variants of this method return a new Pattern object, so it
can be annotated @NonNull.

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

Change-Id: Ia6b862f56b1ebc65fe1bdc1b2dcf6875e3afd36e
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/68107
Reviewed-by: Hudson CI
common/org.eclipse.tracecompass.common.core/annotations/java/util/regex/Pattern.eea [new file with mode: 0644]
lttng/org.eclipse.tracecompass.lttng2.control.ui/src/org/eclipse/tracecompass/internal/lttng2/control/ui/views/service/LTTngControlServiceConstants.java
tmf/org.eclipse.tracecompass.tmf.analysis.xml.ui/src/org/eclipse/tracecompass/internal/tmf/analysis/xml/ui/views/xychart/XmlXYViewer.java
This page took 0.024863 seconds and 5 git commands to generate.