Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-29104

Use Apache commons-lang3 FieldUtils instead of ad hoc reflection

    XMLWordPrintable

    Details

    • Tags:
    • Team:
      FG
    • Sprint:
      nxFG 11.1.13
    • Story Points:
      2

      Description

      There are a number of places in the Nuxeo code where we need to use reflection to read/write a field otherwise inaccessible (private or final).

      Instead of using ad-hoc reflection, we should use FieldUtils which makes the code shorter.

      While doing this cleanup, remove the cases where reflection is not actually needed (or change Nuxeo code to make the field usable directly).

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours
                  4h