Apply and enforce spring-javaformat
This commit is contained in:
committed by
Dave Syer
parent
ad60397400
commit
7254dc8be7
@@ -43,8 +43,13 @@ public class BindingDeduplicationTests {
|
||||
context.close();
|
||||
}
|
||||
|
||||
public static class SomeDependency {}
|
||||
public static class SomeOptionalDependency {}
|
||||
public static class SomeDependency {
|
||||
|
||||
}
|
||||
|
||||
public static class SomeOptionalDependency {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -68,11 +73,10 @@ class BindingDeduplicationTestsConfig {
|
||||
@Override
|
||||
protected void configure() {
|
||||
bind(SomeDependency.class).asEagerSingleton();
|
||||
OptionalBinder
|
||||
.newOptionalBinder(binder(), SomeOptionalDependency.class)
|
||||
.setDefault()
|
||||
OptionalBinder.newOptionalBinder(binder(), SomeOptionalDependency.class).setDefault()
|
||||
.to(SomeOptionalDependency.class);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user