Bug 467474 - Change the type of HandleDelta.affectedChildren from IHandleDelta[] to HandleDelta[]
Summary: Change the type of HandleDelta.affectedChildren from IHandleDelta[] to Handle...
Status: RESOLVED FIXED
Alias: None
Product: Handly
Classification: Technology
Component: Core (show other bugs)
Version: 0.3   Edit
Hardware: All All
: P3 enhancement
Target Milestone: 0.3   Edit
Assignee: Vladimir Piskarev CLA
QA Contact:
URL:
Whiteboard: breakingchange
Keywords: api
Depends on:
Blocks:
 
Reported: 2015-05-18 02:24 EDT by Vladimir Piskarev CLA
Modified: 2015-05-18 05:48 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Piskarev CLA 2015-05-18 02:24:07 EDT
The class HandleDelta already assumes the affected children are of type HandleDelta, as manifested in numerous casts from IHandleDelta to HandleDelta. We should make this assumption explicit by changing the type of the affectedChildren field from IHandleDelta[] to HandleDelta[], which will clear up the implementation by removing the casts.

Since the affectedChildren field is protected, this is a breaking change.