@@ -149,12 +149,12 @@ protected Format() {
149
149
150
150
/**
151
151
* Formats an object to produce a string.
152
- * This method returns a string that would be equal to the string returned by
152
+ *
153
+ * @implSpec This method returns a string that would be equal to the string returned by
153
154
* <blockquote>
154
155
* {@link #format(Object, StringBuffer, FieldPosition) format}<code>(obj,
155
156
* new StringBuffer(), new FieldPosition(0)).toString();</code>
156
157
* </blockquote>
157
- *
158
158
* @param obj The object to format
159
159
* @return Formatted string.
160
160
* @throws IllegalArgumentException if the Format cannot format the given
@@ -207,11 +207,11 @@ StringBuf format(Object obj,
207
207
* to define what the legal values are for each attribute in the
208
208
* {@code AttributedCharacterIterator}, but typically the attribute
209
209
* key is also used as the attribute value.
210
- * <p>The default implementation creates an
211
- * {@code AttributedCharacterIterator} with no attributes. Subclasses
212
- * that support fields should override this and create an
213
- * {@code AttributedCharacterIterator} with meaningful attributes.
214
210
*
211
+ * @apiNote Subclasses that support fields should override this and create an
212
+ * {@code AttributedCharacterIterator} with meaningful attributes.
213
+ * @implSpec The default implementation creates an
214
+ * {@code AttributedCharacterIterator} with no attributes.
215
215
* @throws NullPointerException if obj is null.
216
216
* @throws IllegalArgumentException when the Format cannot format the
217
217
* given object.
0 commit comments