Uploaded image for project: 'Terrier Core'
  1. Terrier Core
  2. TR-139

Manager should balk at null Index in constructor

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.5
    • Component/s: .querying
    • Labels:
      None

      Description

      Gene reports an annoying problem, in that Terrier's Manager class doesn't check that the Index passed to it is valid (i.e. not null).

      Its trivial to check, and we can then report a more sensible error message than we do currently.

        Attachments

          Activity

          Hide
          craigm Craig Macdonald added a comment -

          Added trivial check in Manager, and a test case for Manager that checks the exception is raised.

          Show
          craigm Craig Macdonald added a comment - Added trivial check in Manager, and a test case for Manager that checks the exception is raised.

            People

            • Assignee:
              craigm Craig Macdonald
              Reporter:
              craigm Craig Macdonald
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: