QDox
  1. QDox
  2. QDOX-179

Annoying name difference between methods JavaClass.getFullyQualifiedName() and Type.getFullQualifiedName()

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.10
    • Fix Version/s: 1.10.1
    • Component/s: Java API
    • Labels:
      None
    • Number of attachments :
      0

      Description

      The method for getting the fully qualified name of a class is named slightly differently in JavaClass and Type

      JavaClass.getFullyQualifiedName()
      Type .getFullQualifiedName()

      Note the missing y in Type's version of the method.

      With Java you notice this easily at compile time (or may not notice it at all if you insert the method calls using e.g. Eclipse's method name completion), but with dynamic languages (e.g. Groovy and JRuby) it is annoying to have to remember each time which one to use.

      I suggest deprecating Type.getFullQualifiedName() and adding getFullyQualifiedName() there as the method name seems to have a typo.

        Activity

        Hide
        Robert Scholte added a comment -

        I agree with your suggestion. Changes have been committed.

        Show
        Robert Scholte added a comment - I agree with your suggestion. Changes have been committed.
        Robert Scholte made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.11 [ 15653 ]
        Resolution Fixed [ 1 ]
        Assignee Robert Scholte [ rfscholte ]
        Paul Hammant made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Robert Scholte
            Reporter:
            Antti Karanta
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: