Skip to content

Commit 3e3967d

Browse files
authored
Merge pull request #77 from Philzen/patch-1
Fix typo in overridable configure() method
2 parents d1051d5 + 5236df0 commit 3e3967d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/asciidoc/docs/dependency_injection.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ package com.example;
226226
227227
public class ParentModule extends AbstractModule {
228228
@Override
229-
protected void conigure() {
229+
protected void configure() {
230230
bind(MyService.class).toProvider(MyServiceProvider.class);
231231
bind(MyContext.class).to(MyContextImpl.class).in(Singleton.class);
232232
}
@@ -284,4 +284,4 @@ As you see `ParentModule` declares binding for `MyService` and `MyContext` class
284284
* MyService - binding taken from ParentModule
285285
* MySession - binding taken from TestModule
286286

287-
This configuration ensures you that all tests in this suite will be run with same session instance, the `MyContextImpl` object is only created once per suite, this give you possibility to configure common environment state for all tests in suite.
287+
This configuration ensures you that all tests in this suite will be run with same session instance, the `MyContextImpl` object is only created once per suite, this give you possibility to configure common environment state for all tests in suite.

0 commit comments

Comments
 (0)