Always returns a new String, so is effectively @NonNull.
Again, this applies to this class only and not all Object#toString()
implementations!
Change-Id: I748fd7cc6cc627266733632b9e251f87569369db
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/59425
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
--- /dev/null
+class java/lang/StringBuilder
+toString
+ ()Ljava/lang/String;
+ ()L1java/lang/String;
sb.append("type:").append(fContainerType.toString()); //$NON-NLS-1$
sb.append(']');
String string = sb.toString();
- if (string == null) {
- throw new IllegalStateException();
- }
return string;
}