Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-15859

camel-salesforce: Don't generate unnecessary enums

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.6.0
    • 3.7.0
    • camel-salesforce
    • None
    • Unknown

    Description

      Currently the maven plugin will generate java files for enums even if the user has chosen to not use enums (useStringsForPicklists == true). This results in dead code that's just a liability (see CAMEL-15856).

      Solution is to not generate enum files if useStringsForPicklists == true and nothing is supplied for picklistToEnums.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jeremyross Jeremy Ross
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: