File tree 1 file changed +7
-1
lines changed 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -3986,6 +3986,11 @@ static String cproverFormatArgument(Object obj) {
3986
3986
* <li>
3987
3987
* having 5 arguments or more makes the solver slow
3988
3988
* </li>
3989
+ * <li>
3990
+ * the string "null" is interpreted the same way {@code null} would be by
3991
+ * the JDK String.format function, which is correct for the %s format
3992
+ * specifier but not %b for instance.
3993
+ * </li>
3989
3994
* </ul>
3990
3995
* @diffblue.untested
3991
3996
*/
@@ -4046,7 +4051,8 @@ public static String format(String format, Object... args) {
4046
4051
* @see java.util.Formatter
4047
4052
* @since 1.5
4048
4053
*
4049
- * @diffblue.limitedSupport The locale argument is ignored
4054
+ * @diffblue.limitedSupport The locale argument is ignored and it has the
4055
+ * same limitations as {@link #format(String, Object...)}.
4050
4056
*/
4051
4057
public static String format (Locale l , String format , Object ... args ) {
4052
4058
// return new Formatter(l).format(format, args).toString();
You can’t perform that action at this time.
0 commit comments