| Summary: | Ensure transactional policies can be initialized/committed multiple times in sequence. | ||
|---|---|---|---|
| Product: | [Tools] GEF | Reporter: | Matthias Wienand <matthias.wienand> |
| Component: | GEF MVC | Assignee: | gef-inbox <gef-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | nyssen |
| Version: | 0.1.0 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Matthias Wienand
Fixed that FXChangeViewportPolicy now properly follows that contract (up to now, it has thrown an exception when being committed multiple times). I guarded all transactional policies against being used uninitialized (throwing an IllegalStateException), and ensured that init() and commit() can be called multiple times in a row. The code is published on the master branch. Therefore, I resolve this ticket as fixed for 3.10.1RC3. |