Apply parentheses consistently within <methodname/>

Prior to change, there were 175 instances of <methodname/> elements
including parentheses (e.g.: <methodname>foo()</methodname>, and
36 instances without.

Now all 211 instances include parentheses for consistency.
This commit is contained in:
Chris Beams
2010-08-10 22:13:50 +00:00
parent e3400f77c9
commit abf523698c
9 changed files with 36 additions and 36 deletions

View File

@@ -1192,9 +1192,9 @@ public interface Parser<T> {
<para> To create your own Formatter, simply implement the Formatter
interface above. Parameterize T to be the type of object you wish to
format, for example, <classname>java.util.Date</classname>. Implement
the <methodname>print</methodname> operation to print an instance of T
the <methodname>print()</methodname> operation to print an instance of T
for display in the client locale. Implement the
<methodname>parse</methodname> operation to parse an instance of T from
<methodname>parse()</methodname> operation to parse an instance of T from
the formatted representation returned from the client locale. Your
Formatter should throw a ParseException or IllegalArgumentException if a
parse attempt fails. Take care to ensure your Formatter implementation
@@ -1273,10 +1273,10 @@ public interface AnnotationFormatterFactory<A extends Annotation> {
<para> Parameterize A to be the field annotationType you wish to associate
formatting logic with, for example
<code>org.springframework.format.annotation.DateTimeFormat</code>. Have
<methodname>getFieldTypes</methodname> return the types of fields the
annotation may be used on. Have <methodname>getPrinter</methodname>
<methodname>getFieldTypes()</methodname> return the types of fields the
annotation may be used on. Have <methodname>getPrinter()</methodname>
return a Printer to print the value of an annotated field. Have
<methodname>getParser</methodname> return a Parser to parse a
<methodname>getParser()</methodname> return a Parser to parse a
clientValue for an annotated field. </para>
<para> The example AnnotationFormatterFactory implementation below binds