Skip to content
This repository has been archived by the owner on Aug 13, 2020. It is now read-only.

Add aggregate service and helper functions #46

Merged
merged 2 commits into from
Apr 27, 2016
Merged

Conversation

purple52
Copy link
Contributor

No description provided.

public <T extends Aggregate> T get(final EventStream stream, final Class<T> clazz) {

try {
T aggregate = clazz.newInstance();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"T aggregate" can be final

@mapingo mapingo merged commit 0bf8793 into master Apr 27, 2016
@mapingo mapingo deleted the aggregate-service branch April 27, 2016 08:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants