Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-3896

DeprecationNotice usage is counter-intuitive

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.0
    • 1.3.0
    • None
    • None

    Description

      As part of NIFI-391 we introduced annotation DeprecationNotice. While using it for the first time I developed a feeling that its usage is counter intuitive.

      The reason for that is that since its original intent was to mimic SeeAlso annotation, the use of "value" was used to describe alternative classes. However, this resulted in awkward annotation use.

      We should use a more explicit name for value, something like alternatives

      Attachments

        Issue Links

          Activity

            People

              trixpan Andre F de Miranda
              trixpan Andre F de Miranda
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: