Skip to content

Commit

Permalink
Add minor polish to mockito related code
Browse files Browse the repository at this point in the history
  • Loading branch information
geoand committed Jan 26, 2023
1 parent 915a4d3 commit d309d9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

/**
* If true, then Quarkus will change the scope of the target {@code Singleton} bean to {@code ApplicationScoped}
* to make the mockable.
* to make it mockable.
* This is an advanced setting and should only be used if you don't rely on the differences between {@code Singleton}
* and {@code ApplicationScoped} beans (for example it is invalid to read fields of {@code ApplicationScoped} beans
* as a proxy stands in place of the actual implementation)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class SingletonToApplicationScopedTestBuildChainCustomizerProducer implem

@Override
public Consumer<BuildChainBuilder> produce(Index testClassesIndex) {
return new Consumer<BuildChainBuilder>() {
return new Consumer<>() {

@Override
public void accept(BuildChainBuilder buildChainBuilder) {
Expand Down

0 comments on commit d309d9c

Please sign in to comment.