[QFJ-663] FieldMap's "getGroup()", "replaceGroup()", and possibly others... should start with 0 (not 1) Created: 23/Jan/12  Updated: 23/Jan/12

Status: Open
Project: QuickFIX/J
Component/s: Engine
Affects Version/s: 1.5.0
Fix Version/s: None

Type: Improvement Priority: Trivial
Reporter: John Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   

The first index for anything in the IT world is "0", not "1". Most certainly any programmer in this world expects the index "0" to be the first one.
An implementation must add 1 to each index, and the FIX engine then decrements it (will not kill the CPU but it is at least some work that could be avoided).

My solution would be to deprecate the methods and have new replacing methods (remove the deprecated methods and rename the new ones in a later version).


Generated at Sat Nov 23 00:31:17 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.