Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-1691

Make DAO attributes public

    XMLWordPrintable

    Details

    • Type: Clean up
    • Status: Resolved
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 4.1.3
    • Fix Version/s: 4.1.4
    • Component/s: Framework

      Description

      There a currently 248 occurrences of external call of the _dao attribute.
      The attribute's name suggest a private one, but on the contrary, it is the most publicly used.

      So, the clean-up goal is:

      • Rename Engine._dao to Engine.dao, and remove Engine.get_dao().
      • Rename Manager._dao to Manager.dao, and remove Manager.get_dao().
      • Rename Remote._dao to Remote.dao
      • Rename EngineWorker._dao to EngineWorker.dao

        Attachments

          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 - 20 minutes
                20m