eclipse-ocl / org.eclipse.ocl

Eclipse Public License 2.0
0 stars 0 forks source link

[pivot] Make nullFree Collections the default #1692

Closed eclipse-ocl-bot closed 1 month ago

eclipse-ocl-bot commented 1 month ago

| --- | --- | | Bugzilla Link | 492293 | | Status | RESOLVED FIXED | | Importance | P3 normal | | Reported | Apr 23, 2016 03:34 EDT | | Modified | Dec 15, 2016 11:12 EDT | | Reporter | Ed Willink |

Description

In UML all collections are null-free.

In OCL they are alamost always null-free and so having to declare them assuch is really tedious.

Change the default so that UML2AS / ES2AS interprets undeclared null-free as null-free.

eclipse-ocl-bot commented 1 month ago

By Ed Willink on May 23, 2016 04:46

Default changed for M7.

eclipse-ocl-bot commented 1 month ago

By Ed Willink on Dec 13, 2016 11:54

Adding WFRs to QVTi detects that collection type declarations are not parsed as null-free by default.

Fixing this detects that ToString/PrettyPrint serialization omits multiplicities for not-null-free rather than null-free.

Repairing tests finds yet more not-null-free defaults.

Not-null-free however seems correct for superclasses.

eclipse-ocl-bot commented 1 month ago

By Ed Willink on Dec 13, 2016 15:45

testSerialize_SimpleUML2RDBMS_qvti suspended for QVTd M4

eclipse-ocl-bot commented 1 month ago

By Ed Willink on Dec 15, 2016 11:12

Many new nullFree defaults fixed for M5.

(In reply to Ed Willink from comment #3)

testSerialize_SimpleUML2RDBMS_qvti suspended for QVTd M4

Re-enabled for M5