Uploaded image for project: 'Rights API'
  1. Rights API
  2. RIGHTSAPI-21

Clean up rights API

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 1.1
    • 1.0
    • None
    • Easy

    Description

      Remove getPersistedRules from the RightReader API, and refactor existing code so that it does not rely on this function anymore.
      The way to get persisted rules should be by using the getRules method with the boolean parameter withImplied set to false.

      Also improve health of existing code:

      • Change variable names from abbreviation to full name
      • Make every function have 1 and only 1 return
      • Use boolean primitive in function parameters
      • Use Collection.emptyList() instead of explicitly creating a new empty list

      Attachments

        Activity

          People

            cdesableau Clément Desableau
            cdesableau Clément Desableau
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: