eclipse-ocl / org.eclipse.ocl

Eclipse Public License 2.0
0 stars 0 forks source link

AbstractBasicEnvironment.formatter is not extensible #326

Closed eclipse-ocl-bot closed 1 month ago

eclipse-ocl-bot commented 1 month ago

| --- | --- | | Bugzilla Link | 245760 | | Status | CLOSED FIXED | | Importance | P3 trivial | | Reported | Aug 30, 2008 01:53 EDT | | Modified | May 27, 2011 02:41 EDT | | Version | 1.2.0 | | Reporter | Ed Willink |

Description

AbstractBasicEnvironment.formatter is private and its initialisation is hardwired as "formatter = AbstractFormattingHelper.INSTANCE" in getFormatter().

Please refactor the "AbstractFormattingHelper.INSTANCE" into the protected createDefaultFormattingHelper().

[QVTEnvironment has to shadow formatter with a derived instance maintained in a derived getFormatter().]

eclipse-ocl-bot commented 1 month ago

By Christian Damus on Aug 30, 2008 13:12

Committed a new createFormattingHelper() factory method.

eclipse-ocl-bot commented 1 month ago

By Christian Damus on Aug 30, 2008 21:15

Fix available in HEAD: 1.3.0.I200808302022.

eclipse-ocl-bot commented 1 month ago

By Ed Willink on May 27, 2011 02:40

Closing after over a year in verified state.

eclipse-ocl-bot commented 1 month ago

By Ed Willink on May 27, 2011 02:41

Closing after over a year in verified state.