eclipse-ocl / org.eclipse.ocl

Eclipse Public License 2.0
0 stars 0 forks source link

Missing update of packages collection in DefaultOppositeEndFinder #662

Closed eclipse-ocl-bot closed 1 month ago

eclipse-ocl-bot commented 1 month ago

| --- | --- | | Bugzilla Link | 340257 | | Status | CLOSED FIXED | | Importance | P3 major | | Reported | Mar 16, 2011 18:47 EDT | | Modified | May 27, 2011 03:13 EDT | | Version | 3.1.0 | | Reporter | Axel Uhl |

Description

Created attachment 191365\ 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.

doef.patch

eclipse-ocl-bot commented 1 month ago

By Ed Willink on Mar 17, 2011 11:50

+1

You can save an access by using the add() status return.

eclipse-ocl-bot commented 1 month ago

By Axel Uhl on Mar 17, 2011 12:18

As Ed suggested, replaced combination of contains+add by only add, checking result

eclipse-ocl-bot commented 1 month ago

By Ed Willink on May 27, 2011 03:13

Closing