Uploaded image for project: 'mdsal'
  1. mdsal
  2. MDSAL-395

Get rid of "get" prefix because it conflicts with getters

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 4.0.0
    • Binding codegen
    • None

    Description

      This is (hopefully) the last straggler in the 'get*' family, after getKey() and getAugmentation(). Using "get" prefix followed by a capital letter infringes on namespace reserved for user-defined data, such as:

      grouping foo {
          leaf implemented-interface {
              type string;
          }
      }
      

      We suddenly have two getters differing only by return type, which is a JLS violation. Get rid of this by renaming to "implementedInterface".

      Attachments

        Issue Links

          # Subject Branch Project Status CR V

          Activity

            People

              rovarga Robert Varga
              rovarga Robert Varga
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: