Skip to content

Commit 8eb97f4

Browse files
committed
Format only, no effective change
1 parent edfd096 commit 8eb97f4

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

inject/src/main/java/io/avaje/inject/BeanScopeBuilder.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,13 @@ public interface BeanScopeBuilder {
8282
/**
8383
* Set the PropertyPlugin used for this scope. This is serviceloaded automatically of not set
8484
*
85-
* @param propertyRequiresPlugin
85+
* @param propertyRequiresPlugin The plugin for conditions based on properties
8686
*/
8787
void propertyPlugin(PropertyRequiresPlugin propertyRequiresPlugin);
8888

8989
/**
90-
* Retrieve the PropertyPlugin used for this scope. This is useful for plugins that want to use
90+
* Return the PropertyPlugin used for this scope. This is useful for plugins that want to use
9191
* the scopes wiring properties.
92-
*
93-
* @param propertyRequiresPlugin
9492
*/
9593
PropertyRequiresPlugin propertyPlugin();
9694

@@ -213,7 +211,6 @@ default <D> BeanScopeBuilder provideDefault(Type type, Supplier<D> provider) {
213211
*/
214212
BeanScopeBuilder addPreDestroyHooks(AutoCloseable... closables);
215213

216-
217214
/**
218215
* Set the ClassLoader to use when loading modules.
219216
*
@@ -385,6 +382,7 @@ interface ForTesting extends BeanScopeBuilder {
385382
* }</pre>
386383
*/
387384
BeanScopeBuilder.ForTesting spy(Class<?> type, String name);
385+
388386
/**
389387
* Use a mockito spy when injecting this bean type additionally
390388
* running setup on the spy instance.

inject/src/main/java/io/avaje/inject/DBeanScopeBuilder.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public BeanScopeBuilder.ForTesting spy(Class<?> type) {
165165
}
166166

167167
@Override
168-
public BeanScopeBuilder.ForTesting spy(Class<?> type, String name) {
168+
public BeanScopeBuilder.ForTesting spy(Class<?> type, String name) {
169169
return spy(type, name, null);
170170
}
171171

@@ -394,9 +394,9 @@ private int processQueuedFactories() {
394394
*/
395395
private boolean satisfiedDependencies(FactoryState factory) {
396396
return satisfiedDependencies(factory.requires())
397-
&& satisfiedDependencies(factory.requiresPackages())
398-
&& satisfiedDependencies(factory.autoRequiresAspects())
399-
&& satisfiedDependencies(factory.autoRequires());
397+
&& satisfiedDependencies(factory.requiresPackages())
398+
&& satisfiedDependencies(factory.autoRequiresAspects())
399+
&& satisfiedDependencies(factory.autoRequires());
400400
}
401401

402402
private boolean satisfiedDependencies(Class<?>[] requires) {

0 commit comments

Comments
 (0)