From d04938b49c2288343ef2e7f435ec429e98ff433f Mon Sep 17 00:00:00 2001 From: Matthew Khouzam Date: Wed, 28 Oct 2015 14:49:38 -0400 Subject: [PATCH] common: Annotate java.util.Formatter Annotate both Formatter.format() methods to return a @NonNull formatter (they return the formatter object itself). Change-Id: I8f18f439d6db909f10c0f54fd4793665c4966a6b Signed-off-by: Matthew Khouzam Reviewed-on: https://git.eclipse.org/r/59164 Reviewed-by: Alexandre Montplaisir Tested-by: Alexandre Montplaisir Reviewed-by: Hudson CI --- .../annotations/java/util/Formatter.eea | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 common/org.eclipse.tracecompass.common.core/annotations/java/util/Formatter.eea diff --git a/common/org.eclipse.tracecompass.common.core/annotations/java/util/Formatter.eea b/common/org.eclipse.tracecompass.common.core/annotations/java/util/Formatter.eea new file mode 100644 index 0000000000..1d3036e4f1 --- /dev/null +++ b/common/org.eclipse.tracecompass.common.core/annotations/java/util/Formatter.eea @@ -0,0 +1,7 @@ +class java/util/Formatter +format + (Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter; + (Ljava/lang/String;[Ljava/lang/Object;)L1java/util/Formatter; +format + (Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter; + (Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)L1java/util/Formatter; -- 2.34.1