Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 340257

Summary: Missing update of packages collection in DefaultOppositeEndFinder
Product: [Modeling] OCL Reporter: Axel Uhl <eclipse>
Component: CoreAssignee: OCL Inbox <mdt-ocl-inbox>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P3 CC: ed
Version: 3.1.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Patch adding cached package to the packages collection none

Description Axel Uhl CLA 2011-03-16 18:47:09 EDT
Created attachment 191365 [details]
Patch adding cached package to the packages collection

This must have slipped our attention in prior reviews. Redundant cache updates are tried because the packages collection isn't updated when a package is being cached. Patch attached.
Comment 1 Ed Willink CLA 2011-03-17 11:50:57 EDT
+1

You can save an access by using the add() status return.
Comment 2 Axel Uhl CLA 2011-03-17 12:18:22 EDT
As Ed suggested, replaced combination of contains+add by only add, checking result
Comment 3 Ed Willink CLA 2011-05-27 03:13:33 EDT
Closing