Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added fireEvent(Event<?>) overload to address issue #668 #669

Merged
merged 1 commit into from
Jan 27, 2015

Conversation

timeu
Copy link
Contributor

@timeu timeu commented Jan 25, 2015

No description provided.

@@ -225,6 +226,10 @@ public void fireEvent(GwtEvent<?> event) {
getEventBus().fireEventFromSource(event, this);
Copy link
Contributor

Choose a reason for hiding this comment

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

public void fireEvent(GwtEvent<?> event)

seems a bit redundant now.

Is there a web bindery replacement for HasHandlers?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

change:
getEventBus().fireEventFromSource(event, this);
to:
fireEvent((Event<?>) event);

Then any future changes to fire event can be made in the one method.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK I did the changes as requested (I did commit --amend to make sure that we don't pollute the commit history). Hope this is fine

@rdwallis
Copy link
Contributor

Thanks for the contribution!

LGTM @Chris-V @christiangoudreau ?

@christiangoudreau
Copy link
Member

Looks good to me!

@Chris-V
Copy link
Member

Chris-V commented Jan 27, 2015

LGTM. Nevermind, the javadoc is inherited. Thanks for the contribution!

Chris-V added a commit that referenced this pull request Jan 27, 2015
Added fireEvent(Event<?>) overload to address issue #668
@Chris-V Chris-V merged commit 5adba45 into ArcBees:master Jan 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants