Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-2786

Inconsistent method name "build"

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.5
    • None
    • None
    • None

    Description

      The method just returns one field "params" of the current class, thus method name "getParams" should be better than "build".

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            BruceKuiLIU KuiLIU
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: