Project

General

Profile

Feature #1076

Can we remove the getByType?

Added by Rob Kutschke over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Navigation
Target version:
Start date:
03/18/2011
Due date:
% Done:

100%

Estimated time:
Scope:
Internal
Experiment:
-
SSI Package:
Duration:

Description

The Event class has an accessor:

Event::getByType(Handle<PROD>& result) const;

We would like to remove this accessor since we recommend that people never use it; we recommend that people use one of the many getByLabel methods or one of the getMany methods; there are also use cases for getByProductID. But we do not see any use for getByType - it is just a landmine waiting to go off when a new module adds a new data product of the same type.

History

#1 Updated by Christopher Green over 8 years ago

  • Category set to Navigation
  • Status changed from New to Assigned
  • Assignee set to Walter E Brown
  • Target version set to 0.07.00

#2 Updated by Walter E Brown over 8 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

#3 Updated by Christopher Green over 8 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF