Uploaded image for project: 'Apache NiFi MiNiFi C++'
  1. Apache NiFi MiNiFi C++
  2. MINIFICPP-1502

Update processors that take their name/id constructor arguments as values

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 0.7.0
    • 0.10.0

    Description

      Background:

      Currently, probably due to copy-pasting, many of the processors take their name and id arguments as values as opposed to const references.

      ➜  git --no-pager grep '(std::string name, utils::Identifier uuid = utils::Identifier())' | wc -l
      46
      

      Proposal:

      It should be a trivial change to update these signatures. One should search and replace the mentioned signature and check if changing it has no impact (eg. values are not moved from).

      Attachments

        Activity

          People

            lordgamez Gábor Gyimesi
            hunyadi Adam Hunyadi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1.5h
                1.5h