common: Annotate some methods in String
authorMatthew Khouzam <matthew.khouzam@ericsson.com>
Wed, 28 Oct 2015 18:48:44 +0000 (14:48 -0400)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Fri, 30 Oct 2015 12:17:43 +0000 (08:17 -0400)
commit65577c0b2fbcb6e831b1310eac54c2867bf828e4
tree9b015295db23496a5290127c8fbeb1e40c889752
parent11f39f996bcf8d2d57cb1aae746a01fc35d3ca2d
common: Annotate some methods in String

All variants of:

copyValueOf()
format()
intern()
toString()*
valueOf()

return a non-null value, so can be marked as such.

* Do not confound with Object.toString()! That one has no nullness
  guarantees.

Change-Id: Ia739dab7ab294e0c32156bd3b756f4241e97a4a1
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/59163
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Hudson CI
common/org.eclipse.tracecompass.common.core/annotations/java/lang/String.eea [new file with mode: 0644]
ctf/org.eclipse.tracecompass.ctf.parser.tests/build.properties
ctf/org.eclipse.tracecompass.ctf.parser/build.properties
gdbtrace/org.eclipse.tracecompass.gdbtrace.core.tests/build.properties
gdbtrace/org.eclipse.tracecompass.gdbtrace.ui.tests/build.properties
lttng/org.eclipse.tracecompass.lttng2.control.core.tests/build.properties
lttng/org.eclipse.tracecompass.lttng2.ust.ui.tests/build.properties
This page took 0.027452 seconds and 5 git commands to generate.