Terrier Core

Manager should balk at null Index in constructor

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: 3.0
  • Fix Version/s: 3.5
  • Component/s: .querying
  • 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.

Activity

Hide
Craig Macdonald added a comment - 14/Sep/10 9:05 PM

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

Show
Craig Macdonald added a comment - 14/Sep/10 9:05 PM Added trivial check in Manager, and a test case for Manager that checks the exception is raised.

People

Dates

  • Created:
    14/Sep/10 9:01 PM
    Updated:
    05/Apr/11 11:45 AM
    Resolved:
    14/Sep/10 9:05 PM