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

Remove the declaration of thrown ProcessException from processor archetype bundle

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 1.13.2
    • 1.14.0
    • Examples

    Description

      Info

      Currently the nifi-maven-archetype projects are reporting some basic code smells in SonarQube reporting. 

      These issues should be addressed to avoid propagating code smells through to anyone who instantiates the processor or service archetypes. 

      Warnings Generated

      Processor Archetype

      • Remove the declaration of thrown exception 'org.apache.nifi.processor.exception.ProcessException' which is a runtime exception.
      • Rename "descriptors" which hides the field declared at line ...
      • Rename "relationships" which hides the field declared at line ...

      Service Archetype

      • Remove the declaration of thrown exception 'org.apache.nifi.processor.exception.ProcessException' which is a runtime exception.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lockieRichter Lockie Richter
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 24h
                  24h
                  Remaining:
                  Time Spent - 0.5h Remaining Estimate - 23.5h
                  23.5h
                  Logged:
                  Time Spent - 0.5h Remaining Estimate - 23.5h
                  0.5h