Ticket #2433 (new bug) — at Initial Version

Opened 15 years ago

Last modified 13 years ago

immutable collections -- get index misbehavior

Reported by: stefan Owned by:
Priority: major Milestone:
Component: uncategorized Version: 2.0
Keywords: Cc:
Category: unknown Effort:
Importance: Ticket_group:
Estimated Number of Hours: 0 Add Hours to Ticket: 0
Billable?: yes Total Hours: 0
Analysis_owners: stefan Design_owners:
Imp._owners: Test_owners:
Analysis_reviewers: Changelog: Changelog
Design_reviewers: Imp._reviewers:
Test_reviewers: Analysis_score: 3.5
Design_score: 4 Imp._score: 4
Test_score: 0

Description

There is inconsistency with the method get(int) of ImmCollection class - when the provided index is missing, it throws an exception. Needed behavior is to return null.

Note: See TracTickets for help on using tickets.