Skip to content

PADL: Code duplication between ElementEvent, EntityEvent and InvokeEvent #448

@luca-sctr

Description

@luca-sctr

The classes ElementEvent, EntityEvent and InvokeEvent all implement the public method IContainer getContainer()

To reduce code duplication, or at the very least to improve the design, an idea would be to create an interface, like IContainedEvent (or maybe IEventWithContainer (I don't like this name)) and maybe an abstract class ContainedEvent that implements IContainer getContainer().

Image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions