common: Annotate some static methods in Collections and Arrays
authorMatthew Khouzam <matthew.khouzam@ericsson.com>
Wed, 28 Oct 2015 18:49:16 +0000 (14:49 -0400)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Thu, 29 Oct 2015 02:25:25 +0000 (22:25 -0400)
commit1a783c31ec9b061a5550d56f57217d2f30a0b257
tree5de182e5212af69e098435795e29a603b2b2249f
parentd04938b49c2288343ef2e7f435ec429e98ff433f
common: Annotate some static methods in Collections and Arrays

The following methods and static fields can be marked as @NonNull:

Arrays.asList()
Collections.empty{Map|List|Set}()
Collections.EMPTY_{MAP|LIST|SET}

Change-Id: I6a36ac288441099219de19b1ec7793ed5cfd2a01
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/59165
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/util/Arrays.eea [new file with mode: 0644]
common/org.eclipse.tracecompass.common.core/annotations/java/util/Collections.eea [new file with mode: 0644]
This page took 0.025493 seconds and 5 git commands to generate.