common: Annotate java.util.Iterator
authorAlexandre Montplaisir <alexmonthy@efficios.com>
Wed, 23 Nov 2016 20:23:49 +0000 (15:23 -0500)
committerAlexandre Montplaisir <alexmonthy@efficios.com>
Thu, 1 Dec 2016 17:35:45 +0000 (12:35 -0500)
Just add an annotation to forEachRemaining(). The goal is to have
_some_ annotation in there so that the next() method makes use
of the declared type, and we don't get the "this type doesn't
seem designed with null annotations in mind" warning.

Change-Id: Idbd8b9e6e62ddd876f390280edb3d2b46d264602
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/85622
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
common/org.eclipse.tracecompass.common.core/annotations/java/util/Iterator.eea [new file with mode: 0644]

diff --git a/common/org.eclipse.tracecompass.common.core/annotations/java/util/Iterator.eea b/common/org.eclipse.tracecompass.common.core/annotations/java/util/Iterator.eea
new file mode 100644 (file)
index 0000000..0ec7e6e
--- /dev/null
@@ -0,0 +1,4 @@
+class java/util/Iterator
+forEachRemaining
+ (Ljava/util/function/Consumer<-TE;>;)V
+ (L1java/util/function/Consumer<-TE;>;)V
This page took 0.025182 seconds and 5 git commands to generate.