NOTICE! This is a static HTML version of a legacy LOCI Software ticket.

LOCI projects are now located on GitHub. The Bio-Formats project can be found here.

Ticket #94 (closed task: fixed)

Opened 2007-04-04T06:57:59-05:00

Last modified 2007-04-09T10:23:22-05:00

Eliminate IFormatHandler's ubiquitous "String id" parameter

Reported by: curtis Owned by: melissa
Priority: critical Milestone:
Component: bio-formats Severity:
Keywords: Cc:
Blocked By: Blocking:

Description

Currently, an id parameter must be passed to nearly every method within Bio-Formats. We already save the current ID in an internal currentId variable; it would be better to eliminate the id parameter from all the methods and instead have a setId(String) method for changing it. Calling setId would basically call initFile with that id, so it would be more intuitive to control when initialization occurs.

We need to decide whether to deprecate all the old signatures, or merely remove them. I am leaning toward deprecation for a limited time, with eventual removal after a number of months.

Change History

comment:1 Changed 2007-04-09T10:23:22-05:00 by melissa

  • Status changed from new to closed
  • Resolution set to fixed

Done in r2583. Old signatures have been deprecated for the time being; we should decide when to remove them.