Skip to content

Commit

Permalink
Format only changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rbygrave committed Jan 6, 2025
1 parent bd9d52e commit a07dd88
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package io.avaje.inject.generator;

import static io.avaje.inject.generator.APContext.logError;

import java.util.ArrayList;
import java.util.Collections;
import java.util.LinkedHashSet;
Expand Down Expand Up @@ -55,14 +56,14 @@ final class BeanReader {
this.type = beanType.getQualifiedName().toString();
this.shortName = shortName(beanType);
this.prototype =
PrototypePrism.isPresent(beanType)
|| importedComponent && ProcessingContext.isImportedPrototype(beanType);
PrototypePrism.isPresent(beanType)
|| importedComponent && ProcessingContext.isImportedPrototype(beanType);
this.primary = PrimaryPrism.isPresent(beanType);
this.secondary = !primary && SecondaryPrism.isPresent(beanType);
this.lazy =
!FactoryPrism.isPresent(beanType)
&& (LazyPrism.isPresent(beanType)
|| importedComponent && ProcessingContext.isImportedLazy(beanType));
!FactoryPrism.isPresent(beanType)
&& (LazyPrism.isPresent(beanType)
|| importedComponent && ProcessingContext.isImportedLazy(beanType));
final var beantypes = BeanTypesPrism.getOptionalOn(beanType);
beantypes.ifPresent(p -> Util.validateBeanTypes(beanType, p.value()));
this.typeReader =
Expand Down Expand Up @@ -376,7 +377,7 @@ private Set<String> importTypes() {
}
}
checkImports();
if (!suppressGeneratedImport){
if (!suppressGeneratedImport) {
importTypes.add(Constants.GENERATED);
}
if (!suppressBuilderImport && !isGenerateProxy()) {
Expand Down

0 comments on commit a07dd88

Please sign in to comment.