Skip to content

Commit

Permalink
testing: Change name of DropwizardAppRule.addManged() to manage(), to…
Browse files Browse the repository at this point in the history
… mirror the method on environment.lifecycle().manage.()
  • Loading branch information
cmicali committed Dec 30, 2014
1 parent befd698 commit 5004170
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -63,7 +63,7 @@ public DropwizardAppRule<C> addListener(ServiceListener<C> listener) {
return this; return this;
} }


public DropwizardAppRule<C> addManaged(final Managed managed) { public DropwizardAppRule<C> manage(final Managed managed) {
return addListener(new ServiceListener<C>() { return addListener(new ServiceListener<C>() {
@Override @Override
public void onRun(C configuration, Environment environment, DropwizardAppRule<C> rule) throws Exception { public void onRun(C configuration, Environment environment, DropwizardAppRule<C> rule) throws Exception {
Expand Down

0 comments on commit 5004170

Please sign in to comment.