[ 
https://issues.apache.org/jira/browse/FOP-2786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

KuiLIU updated FOP-2786:
------------------------
    Affects Version/s: trunk
          Description: 
The method just returns one field "params" of the current class, thus method 
name "getParams" should be better than "build".

{code:java}
    /**
         * Returns the accumulated parameter map.
         * @return the accumulated parameter map
         */
         public Map<String, Object> build() {
             return this.params;
         }
{code}


> Inconsistent method name "build"
> --------------------------------
>
>                 Key: FOP-2786
>                 URL: https://issues.apache.org/jira/browse/FOP-2786
>             Project: FOP
>          Issue Type: Improvement
>    Affects Versions: trunk
>            Reporter: KuiLIU
>            Priority: Major
>         Attachments: rename-method-build.patch
>
>
> The method just returns one field "params" of the current class, thus method 
> name "getParams" should be better than "build".
> {code:java}
>     /**
>          * Returns the accumulated parameter map.
>          * @return the accumulated parameter map
>          */
>          public Map<String, Object> build() {
>              return this.params;
>          }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to