Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-7930

Make Resource class final again

    XMLWordPrintable

    Details

    • Task
    • Status: Done
    • Major
    • Resolution: Fixed
    • 7.2.0
    • 2021.5, 7.2.0
    • rest, tech-debt

      Description

      The work for OPENDJ-7853 required to make Resource non-final in order to be able to subclass it.
      Looking a bit more into it, it looks like this subclassing is not really necessary. We can remove this subclassing (and add back the final keywork on the Resource class) if we:

      1. constrain the ReferencePropertyMapper to only accept ObjectPropertyMapper (instead of the more general PropertyMapper)
      2. add a new constructor to the Resource class that accepts an ObjectPropertyMapper

      This issue can be closed once implemented as suggested.

        Attachments

          Issue Links

            Activity

              People

              JnRouvignac Jean-Noël Rouvignac
              JnRouvignac Jean-Noël Rouvignac
              Jean-Noël Rouvignac Jean-Noël Rouvignac
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: